Paul Gofman : server: Add sigkill timer even if msg_fd is closed.
Alexandre Julliard
julliard at winehq.org
Wed Mar 31 15:55:14 CDT 2021
Module: wine
Branch: master
Commit: 672df33f7d7b3a221d636bf561fa4c6052af7fb6
URL: https://source.winehq.org/git/wine.git/?a=commit;h=672df33f7d7b3a221d636bf561fa4c6052af7fb6
Author: Paul Gofman <pgofman at codeweavers.com>
Date: Tue Mar 30 20:32:14 2021 +0300
server: Add sigkill timer even if msg_fd is closed.
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/process.c b/server/process.c
index 9ca1eb64469..433c0cbdd73 100644
--- a/server/process.c
+++ b/server/process.c
@@ -503,7 +503,7 @@ static void process_sigkill( void *private )
static void start_sigkill_timer( struct process *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 );
else
process_died( process );
More information about the wine-cvs
mailing list