]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #22922: Fix ProactorEventLoop.close()
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 5 Dec 2014 00:43:42 +0000 (01:43 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 5 Dec 2014 00:43:42 +0000 (01:43 +0100)
commit4c85ec99f39bb6687f6fb0d23c6a7daedcde990e
tree73d12fd2c985da98134474feb1dffdff009e46e9
parente80bf0d4a996b3ecda2c2f3cbab10037b9fdcd5e
Issue #22922: Fix ProactorEventLoop.close()

Call _stop_accept_futures() before sestting the _closed attribute, otherwise
call_soon() raises an error.
Lib/asyncio/proactor_events.py