]> git.ipfire.org Git - thirdparty/tornado.git/commit
avoid thread unsafe iteration of _ioloop_for_asyncio (#3125)
authorThomas Grainger <tagrain@gmail.com>
Fri, 18 Mar 2022 20:18:22 +0000 (20:18 +0000)
committerGitHub <noreply@github.com>
Fri, 18 Mar 2022 20:18:22 +0000 (16:18 -0400)
commit3de78b7a15ba7134917a18b0755ea24d7f8fde94
treea2acd83952915aa47b8b6af2c5634390d691b11a
parent7eab7d805e3841f3ddc82fdcef681e4b3e9bf37b
avoid thread unsafe iteration of _ioloop_for_asyncio (#3125)

* avoid thread unsafe iteration of _ioloop_for_asyncio

See https://twitter.com/raymondh/status/1252759650224619521

* catch KeyError from potential concurrent _ioloop_for_asyncio deletes
tornado/platform/asyncio.py