Commit f69ade40 authored by Denis Bilenko's avatar Denis Bilenko

Greenlet: make sure _kill always switches to waiter

parent 80fbb60f
......@@ -481,7 +481,10 @@ class Greenlet(greenlet):
def _kill(greenlet, exception, waiter):
greenlet.throw(exception)
try:
greenlet.throw(exception)
except:
traceback.print_exc()
waiter.switch()
......
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