Merge "Join command thread on exit"

This commit is contained in:
Zuul 2020-07-15 16:32:07 +00:00 committed by Gerrit Code Review
commit b277fb2a05
2 changed files with 4 additions and 0 deletions

View File

@ -2812,6 +2812,7 @@ class ExecutorServer(BaseMergeServer):
if self.process_merge_jobs:
super().join()
self.executor_gearworker.join()
self.command_thread.join()
def pause(self):
self.log.debug('Pausing')

View File

@ -217,3 +217,6 @@ class FingerGateway(object):
Wait on the gateway to shutdown.
'''
self.server_thread.join()
if self.command_thread:
self.command_thread.join()