Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_sslproto
1 parent 812074e commit ab6333fCopy full SHA for ab6333f
Lib/test/test_asyncio/functional.py
@@ -217,16 +217,15 @@ def stop(self):
217
pass
218
finally:
219
super().stop()
220
-
221
- def run(self):
222
- try:
223
- with self._sock:
224
- self._sock.setblocking(False)
225
- self._run()
226
- finally:
+ self._sock.close()
227
self._s1.close()
228
self._s2.close()
229
+
+ def run(self):
+ self._sock.setblocking(False)
+ self._run()
230
def _run(self):
231
while self._active:
232
if self._clients >= self._max_clients:
0 commit comments