diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-01-29 19:55:18 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-01-29 19:55:18 (GMT) |
commit | f684888b1e9c75b344e72fc9b49a940d6f461aee (patch) | |
tree | 4920adae58300f8ed2a61ed8dfadbab3fa9cb801 /Lib/test | |
parent | cfc4a8dae72a048d6919d98a00b1874fe5cc5bee (diff) | |
download | cpython-f684888b1e9c75b344e72fc9b49a940d6f461aee.zip cpython-f684888b1e9c75b344e72fc9b49a940d6f461aee.tar.gz cpython-f684888b1e9c75b344e72fc9b49a940d6f461aee.tar.bz2 |
Explicitly close the server socket.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 5f01247..54d17a3 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 |