You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
_SSLProtocolTransport keeps reference to protocol after close #98539
_SSLProtocolTransport keeps reference to protocol after close. It leads to reference cyeles between the transport and the protocol and is bad for gc. Clearing this is better as it frees up the memory immediately without waiting for the gc. This causes memory leaks in some cases as if an exception occurs the deallocation is delayed even further as tracebacks keeps ref to frame and frame keeps locals alive.
Activity
GH-98539: fix ref cycle in `_SSLProtocolTransport` after close (#98540)
pythonGH-98539: fix ref cycle in `_SSLProtocolTransport` after close (p…
kumaraditya303 commentedon Oct 22, 2022
Fixed by #98540
[3.11] GH-98539: fix ref cycle in `_SSLProtocolTransport` after close (…
gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed (…
pythongh-98539: Make _SSLTransportProtocol.abort() safe to call when …
[3.11] gh-98539: Make _SSLTransportProtocol.abort() safe to call when…
Merge branch 'main' into supermon
Merge branch 'main' into cached_property_docs