mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on close(). (GH-106504) (#106514)
gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on close(). (GH-106504)
(cherry picked from commit 3e5ce7968f
)
Co-authored-by: Andrew Geng <pteromys@gmail.com>
This commit is contained in:
parent
5293e01089
commit
7e883d76c0
3 changed files with 4 additions and 0 deletions
|
@ -1202,6 +1202,7 @@ class _SelectorSocketTransport(_SelectorTransport):
|
|||
|
||||
def close(self):
|
||||
self._read_ready_cb = None
|
||||
self._write_ready = None
|
||||
super().close()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue