issue #406: call Poller.close() during broker shutdown.

issue260
David Wilson 6 years ago
parent e4280dc14a
commit d1c2e7a834

@ -2491,6 +2491,8 @@ class Broker(object):
LOG.error('_broker_main() force disconnecting %r', side) LOG.error('_broker_main() force disconnecting %r', side)
side.stream.on_disconnect(self) side.stream.on_disconnect(self)
self.poller.close()
def _broker_main(self): def _broker_main(self):
""" """
Handle events until :meth:`shutdown`. On shutdown, invoke Handle events until :meth:`shutdown`. On shutdown, invoke

Loading…
Cancel
Save