Commits

TakUnity committed c6fbb2e

Clean up when master receives SIGINT.

Comments (0)

Files changed (1)

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'