Commit 1d9391cb authored by Denis Bilenko's avatar Denis Bilenko

fix for the previous patch

parent 8acaadbb
...@@ -338,7 +338,7 @@ class socket(object): ...@@ -338,7 +338,7 @@ class socket(object):
self.hub.cancel_wait(self._read_event, cancel_wait_ex) self.hub.cancel_wait(self._read_event, cancel_wait_ex)
self.hub.cancel_wait(self._write_event, cancel_wait_ex) self.hub.cancel_wait(self._write_event, cancel_wait_ex)
if self._connect_event is not self._write_event: if self._connect_event is not self._write_event:
self.hub.cancel_wait(self._connect_event) self.hub.cancel_wait(self._connect_event, cancel_wait_ex)
self._sock = _closedsocket() self._sock = _closedsocket()
dummy = self._sock._dummy dummy = self._sock._dummy
for method in _delegate_methods: for method in _delegate_methods:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment