Commit 9b8a43ea authored by Denis Bilenko's avatar Denis Bilenko

baseserver: no real need to spawn a greenlet here

parent 12c2cbcb
...@@ -179,7 +179,7 @@ class BaseServer(object): ...@@ -179,7 +179,7 @@ class BaseServer(object):
try: try:
self._stopped_event.wait() self._stopped_event.wait()
except: except:
Greenlet.spawn(self.stop, timeout=stop_timeout).join() self.stop(timeout=stop_timeout)
raise raise
......
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