From f684888b1e9c75b344e72fc9b49a940d6f461aee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 29 Jan 2006 19:55:18 +0000 Subject: [PATCH] Explicitly close the server socket. --- Lib/test/test_logging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 5f01247e16..54d17a3f01 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -109,6 +109,8 @@ class LogRecordSocketReceiver(ThreadingTCPServer): abort = self.abort #notify the main thread that we're about to exit socketDataProcessed.set() + # close the listen socket + self.server_close() def process_request(self, request, client_address): #import threading -- 2.50.1