explicitly break event loop on Kill
This commit is contained in:
parent
51c914ebae
commit
062290704c
1 changed files with 1 additions and 0 deletions
|
@ -324,6 +324,7 @@ class Bot(object):
|
||||||
self._kill()
|
self._kill()
|
||||||
if not item.callback == None:
|
if not item.callback == None:
|
||||||
item.callback()
|
item.callback()
|
||||||
|
break
|
||||||
|
|
||||||
def _post_send_factory(self, server, lines):
|
def _post_send_factory(self, server, lines):
|
||||||
return lambda: server._post_send(lines)
|
return lambda: server._post_send(lines)
|
||||||
|
|
Loading…
Reference in a new issue