summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/proactor_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-14 23:05:18 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-14 23:05:18 (GMT)
commit93e42c03b78fdb6b51153e5825ab9dc9f90b5e16 (patch)
treec9573bfd60c30ce8f92f20ebc6746f58861371cc /Lib/asyncio/proactor_events.py
parent24be20ac1c396a961d5546d3a641fbcc0bc8108b (diff)
parent29ad0111bd8c7edd049c964c66cfb9e9114c99d2 (diff)
downloadcpython-93e42c03b78fdb6b51153e5825ab9dc9f90b5e16.zip
cpython-93e42c03b78fdb6b51153e5825ab9dc9f90b5e16.tar.gz
cpython-93e42c03b78fdb6b51153e5825ab9dc9f90b5e16.tar.bz2
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r--Lib/asyncio/proactor_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py
index 4716bb5..0ecb44e 100644
--- a/Lib/asyncio/proactor_events.py
+++ b/Lib/asyncio/proactor_events.py
@@ -111,6 +111,7 @@ class _ProactorBasePipeTransport(transports._FlowControlMixin,
if hasattr(self._sock, 'shutdown'):
self._sock.shutdown(socket.SHUT_RDWR)
self._sock.close()
+ self._sock = None
server = self._server
if server is not None:
server._detach()