diff options
-rw-r--r-- | Lib/SocketServer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py index 23f3a8e..d8081ef 100644 --- a/Lib/SocketServer.py +++ b/Lib/SocketServer.py @@ -304,6 +304,7 @@ class ForkingMixIn: os._exit(0) except: try: + self.socket.close() self.handle_error(request, client_address) finally: |