Commit 52221160 authored by Denis Bilenko's avatar Denis Bilenko

baseserver: no real need to spawn a greenlet here

--HG--
extra : transplant_source : %3D%FB%D1L%B2%DD%B3%EC%0AqB_%E2%BA%0F%7F%EF6%06%F8
parent e82a0c6a
......@@ -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