]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Oct 2018 21:17:04 +0000 (14:17 -0700)
committerAntoine Pitrou <pitrou@free.fr>
Tue, 2 Oct 2018 21:17:04 +0000 (23:17 +0200)
commit97f998a4dfd6db6d867f446daa62445d0782bf39
tree6a09f9ae92482b4d92a31563cbaf7db10eab4764
parent484c899a5bdfc0a90ea9f269836a5f67183cf496
bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH-9676)

Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly.
(cherry picked from commit 97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0)

Co-authored-by: tzickel <tzickel@users.noreply.github.com>
Lib/multiprocessing/pool.py
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Library/2018-07-26-10-31-52.bpo-34172.8ovLNi.rst [new file with mode: 0644]