]> 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:36:15 +0000 (14:36 -0700)
committerAntoine Pitrou <pitrou@free.fr>
Tue, 2 Oct 2018 21:36:15 +0000 (23:36 +0200)
commit07b96a95db78eff3557d1bfed1df9ebecc40815b
tree1326645bcced77560295ce376b131dee4f23db03
parent58376c6c97db692f06d0ea930d9b6f02e2c1ebe3
bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450) (GH-9677)

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]