summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/shared_cache.py
diff options
context:
space:
mode:
authorAntoine Pitrou <antoine@python.org>2021-05-15 09:51:20 (GMT)
committerGitHub <noreply@github.com>2021-05-15 09:51:20 (GMT)
commitb30b25b26663fb6070b8ed86fe3a20dcb557d05d (patch)
tree9f3d48dbb54a80505a207eee8fd2a8dc9ad079fd /Doc/includes/sqlite3/shared_cache.py
parentfa9de0c383581936de3338c8dc6b58c10a6e27b8 (diff)
downloadcpython-b30b25b26663fb6070b8ed86fe3a20dcb557d05d.zip
cpython-b30b25b26663fb6070b8ed86fe3a20dcb557d05d.tar.gz
cpython-b30b25b26663fb6070b8ed86fe3a20dcb557d05d.tar.bz2
[3.9] bpo-37788: Fix reference leak when Thread is never joined (GH-26103) (GH-26142)
When a Thread is not joined after it has stopped, its lock may remain in the _shutdown_locks set until interpreter shutdown. If many threads are created this way, the _shutdown_locks set could therefore grow endlessly. To avoid such a situation, purge expired locks each time a new one is added or removed.. (cherry picked from commit c10c2ec7a0e06975e8010c56c9c3270f8ea322ec) Co-authored-by: Antoine Pitrou <antoine@python.org> Automerge-Triggered-By: GH:pitrou
Diffstat (limited to 'Doc/includes/sqlite3/shared_cache.py')
0 files changed, 0 insertions, 0 deletions