Move wait() to correct location.

pull/35/head
David Wilson 8 years ago
parent 1bafeb4434
commit 8afa1327fb

@ -750,7 +750,7 @@ class ExternalContext(object):
self.broker.register(self.context)
self._dispatch_calls()
self.broker.wait()
LOG.debug('ExternalContext.main() exitting')
finally:
self.broker.shutdown()
self.broker.wait()

Loading…
Cancel
Save