We need to wait for _check to finish so read/writes can be triggered correctly
This commit is contained in:
parent
09fbbae5e3
commit
38a41a6404
1 changed files with 2 additions and 2 deletions
|
@ -302,8 +302,8 @@ class Bot(object):
|
||||||
server.disconnect()
|
server.disconnect()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self._event_queue.put(self._post_read_factory(server,
|
self.trigger(self._post_read_factory(server, lines),
|
||||||
lines))
|
False)
|
||||||
elif event & select.EPOLLHUP:
|
elif event & select.EPOLLHUP:
|
||||||
self.log.warn("Recieved EPOLLHUP for %s", [str(server)])
|
self.log.warn("Recieved EPOLLHUP for %s", [str(server)])
|
||||||
server.disconnect()
|
server.disconnect()
|
||||||
|
|
Loading…
Reference in a new issue