[gnome-builder] gui: use SIGKILL with PDEATHSIG



commit 84b9b12e689aed037ceb0a3a9fb4012966b1bc71
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 15 15:36:19 2019 -0700

    gui: use SIGKILL with PDEATHSIG
    
    This is consistent with our other subprocess launching code in
    ide-subprocess-launcher.c

 src/libide/gui/ide-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-application.c b/src/libide/gui/ide-application.c
index ac1b8233f..7b6ac91c5 100644
--- a/src/libide/gui/ide-application.c
+++ b/src/libide/gui/ide-application.c
@@ -208,7 +208,7 @@ ide_application_activate_worker (IdeApplication *self)
   g_assert (self->plugin != NULL);
 
 #ifdef __linux__
-  prctl (PR_SET_PDEATHSIG, SIGHUP);
+  prctl (PR_SET_PDEATHSIG, SIGKILL);
 #endif
 
   IDE_TRACE_MSG ("Connecting to %s", self->dbus_address);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]