[gdm] gdm-wayland-session: kill subprocesses on sigterm
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] gdm-wayland-session: kill subprocesses on sigterm
- Date: Tue, 14 Jul 2015 21:02:42 +0000 (UTC)
commit 8f21c90c349256c4049f0117bcbb3f42bd517645
Author: Ray Strode <rstrode redhat com>
Date: Thu Jul 9 13:40:59 2015 -0400
gdm-wayland-session: kill subprocesses on sigterm
This is like commit 90a095e1a3ef26391da835ebe155deae26eeac5f
but for wayland sessions.
(probably should deduplicate that code at some point, but
that's a project for another day)
https://bugzilla.gnome.org/show_bug.cgi?id=752388
daemon/gdm-wayland-session.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gdm-wayland-session.c b/daemon/gdm-wayland-session.c
index b6eccc2..f681464 100644
--- a/daemon/gdm-wayland-session.c
+++ b/daemon/gdm-wayland-session.c
@@ -80,8 +80,8 @@ on_bus_finished (GSubprocess *subprocess,
g_debug ("message bus was killed with status %d", signal_number);
}
-out:
g_clear_object (&state->bus_subprocess);
+out:
g_main_loop_quit (state->main_loop);
}
@@ -212,8 +212,8 @@ on_session_finished (GSubprocess *subprocess,
g_debug ("session was killed with status %d", signal_number);
}
-out:
g_clear_object (&state->session_subprocess);
+out:
g_main_loop_quit (state->main_loop);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]