Commit a298830d authored by Denis Bilenko's avatar Denis Bilenko

Hub.destroy: add a comment

parent 06911658
......@@ -417,6 +417,7 @@ class Hub(greenlet):
return False
def destroy(self):
# this function would be useful after fork / before exec
global _threadlocal
if self._resolver is not None:
self._resolver.close()
......
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