]> granicus.if.org Git - python/commit
Issue #22922: Fix ProactorEventLoop.close()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Jan 2015 15:11:19 +0000 (16:11 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Jan 2015 15:11:19 +0000 (16:11 +0100)
commitb86a96802bf7e054b7b219ee7e9c8fa2444f94d6
tree524fe01998abd910af0e827ea710bd8a69df8396
parent82f34ada45f96c13eb68927d6beccdcbab2c77b3
Issue #22922: Fix ProactorEventLoop.close()

Close the IocpProactor before closing the event loop. IocpProactor.close() can
call loop.call_soon(), which is forbidden when the event loop is closed.
Lib/asyncio/proactor_events.py