fix: make sure sleep completes before killing descendants

This commit is contained in:
Benn Snyder 2024-01-28 13:53:58 -05:00
parent 055f736a5b
commit 5fa8994e71
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ void kill_descendants(int child_pid) {
if (!any_process_exists(descendants)) { if (!any_process_exists(descendants)) {
return; return;
} }
sleep(1); boinc_sleep(1);
} }
kill_all(descendants); kill_all(descendants);
// kill any processes that might have been created // kill any processes that might have been created