Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def on_terminate(self):
logger.debug("In ThreadStrategy on_terminate")
PromiseStrategy.on_terminate(self)
logger.debug("ThreadStrategy waiting on worker thread join")
self.thread.join()