explicitly break event loop on Kill

This commit is contained in:
jesopo 2019-10-22 14:26:40 +01:00
parent 51c914ebae
commit 062290704c

View file

@ -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)