From: Martin v. Löwis Date: Sun, 29 Jan 2006 19:55:18 +0000 (+0000) Subject: Explicitly close the server socket. X-Git-Tag: v2.5a0~733 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f684888b1e9c75b344e72fc9b49a940d6f461aee;p=thirdparty%2FPython%2Fcpython.git Explicitly close the server socket. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 5f01247e16b1..54d17a3f0138 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