server: Do not cancel process sigkill in kill_process().

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2021-03-30 20:32:13 +03:00 committed by Alexandre Julliard
parent 2c94b7a609
commit df066eabdc
1 changed files with 1 additions and 7 deletions

View File

@ -945,13 +945,7 @@ void kill_process( struct process *process, int violent_death )
process->msg_fd = NULL;
}
if (process->sigkill_timeout) /* already waiting for it to die */
{
remove_timeout_user( process->sigkill_timeout );
process->sigkill_timeout = NULL;
process_died( process );
return;
}
if (process->sigkill_timeout) return; /* already waiting for it to die */
if (violent_death) terminate_process( process, NULL, 1 );
else