Commits

TakUnity committed c6fbb2e

Clean up when master receives SIGINT.

  • Participants
  • Parent commits 0767d20

Comments (0)

Files changed (1)

File hgext/chgsupport.py

                     self._initworkerui()
                     while True:
                         self._serveworker()
-            except error.SignalInterrupt:
+            except (error.SignalInterrupt, KeyboardInterrupt):
                 if master:
                     for pid in self._workerpids:
                         self._ui.debug('terminate worker process (pid=%d)\n'