mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor
by joining all queues and processes when shutdown() is called.
This commit is contained in:
parent
db535957cd
commit
d06a065a44
3 changed files with 9 additions and 2 deletions
|
@ -634,7 +634,8 @@ def test_main():
|
|||
ThreadPoolAsCompletedTests,
|
||||
FutureTests,
|
||||
ProcessPoolShutdownTest,
|
||||
ThreadPoolShutdownTest)
|
||||
ThreadPoolShutdownTest,
|
||||
)
|
||||
finally:
|
||||
test.support.reap_children()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue