]> git.ipfire.org Git - thirdparty/tornado.git/commit
asyncio: Don't raise "IOLoop is closing" in add_callback
authorBen Darnell <ben@bendarnell.com>
Sun, 31 Dec 2017 22:05:05 +0000 (17:05 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 31 Dec 2017 22:05:05 +0000 (17:05 -0500)
commit207ff24d273195043cc8d8e874da890160619b90
treeb435f39994f88ffbe6346aebbcdfe9945b651cc6
parentf2f2d6c2cbf15804bf51e992e4701cdcc4daa5a8
asyncio: Don't raise "IOLoop is closing" in add_callback

This mirrors a previous change to PollIOLoop. Fix a test that had
rotted and become meaningless.

Fixes #2191
tornado/platform/asyncio.py
tornado/test/ioloop_test.py