summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_logging.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 474affd..4ec02e1 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -770,6 +770,7 @@ if threading:
"""
self.close()
self._thread.join(timeout)
+ asyncore.close_all(map=self._map, ignore_all=True)
self._thread = None
class ControlMixin(object):