summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-19 22:37:17 (GMT)
committerGitHub <noreply@github.com>2019-08-19 22:37:17 (GMT)
commitd3dcc92778807ae8f7ebe85178f36a29711cd478 (patch)
tree9f416500ba67997ae72cda0594f5bcc62ac303b9 /Misc
parentcf9360e524acafdce99a8a1e48947fd7da06f3d4 (diff)
downloadcpython-d3dcc92778807ae8f7ebe85178f36a29711cd478.zip
cpython-d3dcc92778807ae8f7ebe85178f36a29711cd478.tar.gz
cpython-d3dcc92778807ae8f7ebe85178f36a29711cd478.tar.bz2
bpo-37788: Fix a reference leak if a thread is not joined (GH-15228)
Add threading.Thread.__del__() method to ensure that the thread state lock is removed from the _shutdown_locks list when a thread completes.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-08-12-17-21-10.bpo-37788.F0tR05.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-12-17-21-10.bpo-37788.F0tR05.rst b/Misc/NEWS.d/next/Library/2019-08-12-17-21-10.bpo-37788.F0tR05.rst
new file mode 100644
index 0000000..d9b1e82
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-08-12-17-21-10.bpo-37788.F0tR05.rst
@@ -0,0 +1 @@
+Fix a reference leak if a thread is not joined.