Fix PKC becoming unresponsive

This commit is contained in:
croneter 2019-02-08 11:21:21 +01:00
parent 3b18a92ab4
commit cd728b4c32

View file

@ -124,6 +124,9 @@ class App(object):
for thread in self.threads: for thread in self.threads:
if not thread.suspend_reached: if not thread.suspend_reached:
LOG.debug('Waiting for thread to suspend: %s', thread) LOG.debug('Waiting for thread to suspend: %s', thread)
# Send suspend signal again in case self.threads
# changed
thread.suspend()
if self.monitor.waitForAbort(0.1): if self.monitor.waitForAbort(0.1):
return True return True
break break