]> granicus.if.org Git - python/commit
Issue #23095, asyncio: Fix _WaitHandleFuture.cancel()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Jan 2015 21:30:28 +0000 (22:30 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Jan 2015 21:30:28 +0000 (22:30 +0100)
commit24dfa3c1d6b21e731bd167a13153968bba8fa5ce
treee1f6c275df8b4d380d54062b2ccddc44adcb6c05
parente0fd157ba0cc92e435e7520b4ff641ca68d72244
Issue #23095, asyncio: Fix _WaitHandleFuture.cancel()

If UnregisterWaitEx() fais with ERROR_IO_PENDING, it doesn't mean that the wait
is unregistered yet. We still have to wait until the wait is cancelled.
Lib/asyncio/windows_events.py