remove the ready flag if you're going to die
This commit is contained in:
parent
772e384360
commit
8a74f26619
@ -76,6 +76,7 @@ if __name__ == '__main__':
|
||||
print "%s: got message from master: %s" % (myname, action)
|
||||
|
||||
if action in ('teardown', 'slay'):
|
||||
masterq.get()
|
||||
break
|
||||
|
||||
while not tasksq.empty():
|
||||
|
Loading…
Reference in New Issue
Block a user