comparison mercurial/vfs.py @ 44978:95c672c07116 stable

procutil: make recent fix for zombies compatible with py2 The fix in ed684a82e29b (procutil: always waiting on child processes to prevent zombies with 'hg serve', 2020-05-07) works only on Python 3 because it passes a `daemon` argument to `threading.Thread()`. Python 2 requires you to assign to the `.daemon` property instead. Python 3 also seems to support that, so this patch fixes the code by unconditionally using the old form. Differential Revision: https://phab.mercurial-scm.org/D8657
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 25 Jun 2020 00:06:23 -0700
parents 77d48738b8e0
children 89a2afe31e82
comparison
equal deleted inserted replaced
44977:afcad425a0b6 44978:95c672c07116