]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-88863: Clear ref cycles to resolve leak when asyncio.open_connection raises (...
authorDong Uk, Kang <nailbrainz@gmail.com>
Tue, 22 Nov 2022 15:06:20 +0000 (00:06 +0900)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2022 15:06:20 +0000 (07:06 -0800)
commit995f6170c78570eca818f7e7dbd8a7661c171a81
treefdfaf448f9fb3bf4a601c1cb51c001deab62ea01
parent9a91182d4a87e4511dad20ad101e3eab0e1c5088
gh-88863: Clear ref cycles to resolve leak when asyncio.open_connection raises (#95739)

Break reference cycles to resolve memory leak, by
removing local exception and future instances from the frame
Lib/asyncio/base_events.py
Lib/asyncio/selector_events.py
Lib/asyncio/windows_events.py
Misc/NEWS.d/next/Library/2022-08-06-12-18-07.gh-issue-88863.NnqsuJ.rst [new file with mode: 0644]