mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
...
This commit is contained in:
parent
6350652009
commit
2b9198866a
1 changed files with 4 additions and 2 deletions
|
|
@ -247,8 +247,10 @@ def setup_profiling(args):
|
|||
def reap_zombies(*a):
|
||||
while True:
|
||||
try:
|
||||
os.waitpid(-1, os.WNOHANG)
|
||||
except OSError:
|
||||
pid, status = os.waitpid(-1, os.WNOHANG)
|
||||
if pid == 0:
|
||||
break
|
||||
except Exception:
|
||||
break
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue