Commit 12c2cbcb authored by Denis Bilenko's avatar Denis Bilenko

baseserver: no real need to spawn a greenlet here

parent 4c87728b
......@@ -140,8 +140,8 @@ class BaseServer(object):
self.pre_start()
try:
self.start_accepting()
except Exception:
Greenlet.spawn(self.kill).join()
except:
self.kill()
raise
def kill(self):
......
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