Commit 8f21c90c authored by Ray Strode's avatar Ray Strode

gdm-wayland-session: kill subprocesses on sigterm

This is like commit 90a095e1
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
parent 90a095e1
......@@ -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);
}
......
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