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 f7f5475 commit 0b44795Copy full SHA for 0b44795
2 files changed
Lib/concurrent/futures/process.py
@@ -232,6 +232,7 @@ def shutdown_one_process():
232
# X.
233
for p in processes:
234
p.join()
235
+ call_queue.close()
236
return
237
else:
238
# Start shutting down by telling a process it can exit.
Misc/NEWS
@@ -30,6 +30,9 @@ Core and Builtins
30
Library
31
-------
32
33
+- Close the call queue in concurrent.futures.ProcessPoolExecutor when
34
+ shutdown() is called, without waiting for the garbage collector to kick in.
35
+
36
- Issue #11603: Fix a crash when __str__ is rebound as __repr__. Patch by
37
Andreas Stührk.
38
0 commit comments