Commit 0b447957 authored by Antoine Pitrou's avatar Antoine Pitrou

Close the call queue in concurrent.futures.ProcessPoolExecutor when

shutdown() is called, without waiting for the garbage collector to kick in.
parent f7f54759
......@@ -232,6 +232,7 @@ def _queue_management_worker(executor_reference,
# X.
for p in processes:
p.join()
call_queue.close()
return
else:
# Start shutting down by telling a process it can exit.
......
......@@ -30,6 +30,9 @@ Core and Builtins
Library
-------
- Close the call queue in concurrent.futures.ProcessPoolExecutor when
shutdown() is called, without waiting for the garbage collector to kick in.
- Issue #11603: Fix a crash when __str__ is rebound as __repr__. Patch by
Andreas Stührk.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment