Commit bca8e7bd authored by Jan-Philip Gehrcke's avatar Jan-Philip Gehrcke Committed by Denis Bilenko

Replace self._threadpool.close() with self._threadpool.kill() in hub.py.

Closes #235.
parent 67a8dac8
...@@ -405,7 +405,7 @@ class Hub(greenlet): ...@@ -405,7 +405,7 @@ class Hub(greenlet):
self._resolver.close() self._resolver.close()
del self._resolver del self._resolver
if self._threadpool is not None: if self._threadpool is not None:
self._threadpool.close() self._threadpool.kill()
del self._threadpool del self._threadpool
if destroy_loop is None: if destroy_loop is None:
destroy_loop = not self.loop.default destroy_loop = not self.loop.default
......
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