Move wait() to correct location.

This commit is contained in:
David Wilson 2016-08-13 22:49:35 +01:00
parent 1bafeb4434
commit 8afa1327fb
1 changed files with 1 additions and 1 deletions

View File

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