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()
|
||||
continue
|
||||
|
||||
self._event_queue.put(self._post_read_factory(server,
|
||||
lines))
|
||||
self.trigger(self._post_read_factory(server, lines),
|
||||
False)
|
||||
elif event & select.EPOLLHUP:
|
||||
self.log.warn("Recieved EPOLLHUP for %s", [str(server)])
|
||||
server.disconnect()
|
||||
|
|
Loading…
Reference in a new issue