exit faster from communicator
This commit is contained in:
parent
eaf61c280a
commit
86fd936d52
2 changed files with 2 additions and 6 deletions
|
@ -118,6 +118,7 @@ class SubprocessPOW:
|
|||
difficulty = self.difficulty
|
||||
try:
|
||||
while True:
|
||||
#logger.info('still running', terminal=True)
|
||||
# Break if shutdown received
|
||||
try:
|
||||
if pipe.poll() and pipe.recv() == 'shutdown':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue