diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-07 12:08:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 12:08:22 (GMT) |
commit | 7e883d76c0a17a7c97782384d8e2ec025eade91b (patch) | |
tree | f5277b84680dabaa90735ae97cda5e27261e2149 /Lib | |
parent | 5293e0108986eadb7e1f5c51e126673f4196ca79 (diff) | |
download | cpython-7e883d76c0a17a7c97782384d8e2ec025eade91b.zip cpython-7e883d76c0a17a7c97782384d8e2ec025eade91b.tar.gz cpython-7e883d76c0a17a7c97782384d8e2ec025eade91b.tar.bz2 |
[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 3e5ce7968f5ab715f649e296e1f6b499621b8091)
Co-authored-by: Andrew Geng <pteromys@gmail.com>
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/selector_events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index fa2422b..f895750 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -1202,6 +1202,7 @@ class _SelectorSocketTransport(_SelectorTransport): def close(self): self._read_ready_cb = None + self._write_ready = None super().close() |