summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/selectors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/selectors.py b/Lib/selectors.py
index 3e6c2ad..3638e85 100644
--- a/Lib/selectors.py
+++ b/Lib/selectors.py
@@ -351,8 +351,8 @@ if hasattr(select, 'epoll'):
return ready
def close(self):
- super().close()
self._epoll.close()
+ super().close()
if hasattr(select, 'kqueue'):
@@ -414,8 +414,8 @@ if hasattr(select, 'kqueue'):
return ready
def close(self):
- super().close()
self._kqueue.close()
+ super().close()
# Choose the best implementation: roughly, epoll|kqueue > poll > select.