Need to do reaper in shutdownALl

This commit is contained in:
Isaac Connor 2018-06-10 14:21:09 -04:00
parent 982f5e2442
commit 578efb3a76
1 changed files with 2 additions and 0 deletions

View File

@ -736,6 +736,8 @@ sub shutdownAll {
send_stop(1, $pid_hash{$pid});
}
while ( keys %terminating_processes ) {
reaper() if %pids_to_reap;
check_for_processes_to_kill();
if ( %terminating_processes ) {
Debug("Still " . %terminating_processes . ' to die. sleeping');