Fix PKC becoming unresponsive
This commit is contained in:
parent
3b18a92ab4
commit
cd728b4c32
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue