Commit 672df33f authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

server: Add sigkill timer even if msg_fd is closed.

parent df066eab
...@@ -503,7 +503,7 @@ static void process_sigkill( void *private ) ...@@ -503,7 +503,7 @@ static void process_sigkill( void *private )
static void start_sigkill_timer( struct process *process ) static void start_sigkill_timer( struct process *process )
{ {
grab_object( process ); grab_object( process );
if (process->unix_pid != -1 && process->msg_fd) if (process->unix_pid != -1)
process->sigkill_timeout = add_timeout_user( -TICKS_PER_SEC, process_sigkill, process ); process->sigkill_timeout = add_timeout_user( -TICKS_PER_SEC, process_sigkill, process );
else else
process_died( process ); process_died( process );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment