mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Check all child processes for exit in SIGCHLD handler
If a second and third child exit while we are already in the handler, we will only see a single additional SIGCHLD. Therefore the handler must not stop after processing a single child but should check all children. Fixes #8740
This commit is contained in:
parent
4874214139
commit
dee2bf7b52
@ -291,6 +291,5 @@ static void chld_handler(uv_signal_t *handle, int signum)
|
||||
proc->status = WTERMSIG(stat);
|
||||
}
|
||||
proc->internal_exit_cb(proc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user