]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
asyncio: Fix _ProactorBasePipeTransport.close()
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 12:40:27 +0000 (13:40 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 12:40:27 +0000 (13:40 +0100)
commitfcd58de78f72ca114707b78e448397d6dbe2ad5d
treee97ebde79b733878aa77039018b339e6c4fc74ed
parent79c93ba47b1bd638989c60726eb6d9467c47308c
asyncio: Fix _ProactorBasePipeTransport.close()

Set the _read_fut attribute to None after cancelling it.

This change should fix a race condition with
_ProactorWritePipeTransport._pipe_closed().
Lib/asyncio/proactor_events.py