mirror of https://github.com/BOINC/boinc.git
fix: make sure sleep completes before killing descendants
This commit is contained in:
parent
055f736a5b
commit
5fa8994e71
|
@ -234,7 +234,7 @@ void kill_descendants(int child_pid) {
|
|||
if (!any_process_exists(descendants)) {
|
||||
return;
|
||||
}
|
||||
sleep(1);
|
||||
boinc_sleep(1);
|
||||
}
|
||||
kill_all(descendants);
|
||||
// kill any processes that might have been created
|
||||
|
|
Loading…
Reference in New Issue