Move wait() to correct location.
This commit is contained in:
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…
Reference in New Issue