Commit 2fbb62da authored by Denis Bilenko's avatar Denis Bilenko

fix shutdown()

parent 2f660eb7
...@@ -169,6 +169,7 @@ class Hub(greenlet): ...@@ -169,6 +169,7 @@ class Hub(greenlet):
if self.keyboard_interrupt_signal is not None: if self.keyboard_interrupt_signal is not None:
self.keyboard_interrupt_signal.cancel() self.keyboard_interrupt_signal.cancel()
self.keyboard_interrupt_signal = None self.keyboard_interrupt_signal = None
core.dns_shutdown()
try: try:
self.switch() self.switch()
except DispatchExit, ex: except DispatchExit, ex:
......
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