diff options
-rw-r--r-- | Lib/logging/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 2ca7845..4703a0a 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -352,6 +352,7 @@ def listen(port=DEFAULT_LOGGING_CONFIG_PORT): logging._acquireLock() abort = self.abort logging._releaseLock() + self.socket.close() def serve(rcvr, hdlr, port): server = rcvr(port=port, handler=hdlr) |