mercurial/wireprotoserver.py
changeset 45818 b7b8a1538161
parent 43117 8ff1ecfadcd1
child 46697 71443f742886
--- a/mercurial/wireprotoserver.py	Mon Jun 22 22:47:43 2020 -0700
+++ b/mercurial/wireprotoserver.py	Tue Nov 03 20:18:26 2020 -0800
@@ -8,7 +8,6 @@
 
 import contextlib
 import struct
-import sys
 import threading
 
 from .i18n import _
@@ -851,7 +850,6 @@
     def serve_forever(self):
         self.serveuntil(threading.Event())
         self._ui.restorefinout(self._fin, self._fout)
-        sys.exit(0)
 
     def serveuntil(self, ev):
         """Serve until a threading.Event is set."""