branch | stable |
changeset 44812 | 79f6f856c53f |
parent 44781 | ed684a82e29b |
child 44867 | 8e8fd938ca07 |
child 44919 | 065704cbdbdb |
--- a/mercurial/utils/procutil.py Mon Apr 27 01:39:22 2020 +0200 +++ b/mercurial/utils/procutil.py Fri May 08 01:19:48 2020 +0200 @@ -612,6 +612,7 @@ # We use a thread to make the overhead tiny. def _do_wait(): os.waitpid(pid, 0) + threading.Thread(target=_do_wait, daemon=True).start() return # Parent process