We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948a855 commit a6495ffCopy full SHA for a6495ff
1 file changed
Lib/concurrent/futures/process.py
@@ -339,7 +339,8 @@ def run(self):
339
340
process_exited = result_item.pid is not None
341
if process_exited:
342
- self.processes.pop(result_item.pid)
+ p = self.processes.pop(result_item.pid)
343
+ p.join()
344
345
# Delete reference to result_item to avoid keeping references
346
# while waiting on new results.
0 commit comments