Fix killing greenlets gevent exception
This commit is contained in:
parent
ddbd5c7b19
commit
6bd49e8aff
3 changed files with 15 additions and 5 deletions
|
@ -20,5 +20,5 @@ class GreenletManager:
|
|||
|
||||
def stopGreenlets(self, reason="Stopping all greenlets"):
|
||||
num = len(self.greenlets)
|
||||
gevent.killall(list(self.greenlets), Debug.Notify(reason), block=False)
|
||||
gevent.killall(list(self.greenlets), Debug.createNotifyType(reason), block=False)
|
||||
return num
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue