X Tutup
Skip to content

[3.11] gh-88863: Clear ref cycles to resolve leak when asyncio.open_connection raises (GH-95739)#99721

Merged
gvanrossum merged 2 commits intopython:3.11from
frostbyte134:backport-995f617-3.11
Nov 23, 2022
Merged

[3.11] gh-88863: Clear ref cycles to resolve leak when asyncio.open_connection raises (GH-95739)#99721
gvanrossum merged 2 commits intopython:3.11from
frostbyte134:backport-995f617-3.11

Conversation

@frostbyte134
Copy link
Contributor

@frostbyte134 frostbyte134 commented Nov 23, 2022

Break reference cycles to resolve memory leak by
removing local exception and future instances from the frame.
(cherry picked from commit 995f617)

…open_connection raises (pythonGH-95739)

Break reference cycles to resolve memory leak, by
removing local exception and future instances from the frame.
(cherry picked from commit 995f617)

Co-authored-by: Dong Uk, Kang <nailbrainz@gmail.com>
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup