]> git.ipfire.org Git - thirdparty/tornado.git/commit
swallow "Event loop is closed" from selector thread 3059/head
authorMin RK <benjaminrk@gmail.com>
Fri, 3 Sep 2021 11:40:25 +0000 (13:40 +0200)
committerMin RK <benjaminrk@gmail.com>
Fri, 3 Sep 2021 11:40:25 +0000 (13:40 +0200)
commitdf8a88f5415e2385e7c77bdcc0579de86f779c4a
treeecbd41106bb2f1132b0f320a956d4b6495602662
parent790715ae0f0a30b9ee830bfee75bb7fa4c4ec2f6
swallow "Event loop is closed" from selector thread

same catch as in `add_callback` for the same reasons - the selector thread may race with an asyncio_loop.close in the main thread

seen running tests with pytest-asyncio
tornado/platform/asyncio.py