diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 20:34:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 20:34:27 (GMT) |
commit | 587feb19e8f9c967e6f88ecd85eca962a57d5410 (patch) | |
tree | be76317326a26551b7bc637ba2dbc478fc3c6841 /Lib/selectors.py | |
parent | 70db9e428aa476682ca80369d09a968b35729845 (diff) | |
download | cpython-587feb19e8f9c967e6f88ecd85eca962a57d5410.zip cpython-587feb19e8f9c967e6f88ecd85eca962a57d5410.tar.gz cpython-587feb19e8f9c967e6f88ecd85eca962a57d5410.tar.bz2 |
Issue #23209: Break some reference cycles in asyncio. Patch written by Martin
Richard.
Diffstat (limited to 'Lib/selectors.py')
-rw-r--r-- | Lib/selectors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/selectors.py b/Lib/selectors.py index e4ad4cb..b2f4c2b 100644 --- a/Lib/selectors.py +++ b/Lib/selectors.py @@ -256,6 +256,7 @@ class _BaseSelectorImpl(BaseSelector): def close(self): self._fd_to_key.clear() + self._map = None def get_map(self): return self._map |