summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/socketserver.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/socketserver.py b/Lib/socketserver.py
index c53ac29..e7faf88 100644
--- a/Lib/socketserver.py
+++ b/Lib/socketserver.py
@@ -534,12 +534,10 @@ class ForkingMixIn:
# This must never return, hence os._exit()!
try:
self.finish_request(request, client_address)
- self.socket.close()
os._exit(0)
except:
try:
self.handle_error(request, client_address)
- self.socket.close()
finally:
os._exit(1)