GNOME Bugzilla – Bug 745975
stopping gdm doesn't stop it's sessions
Last modified: 2015-11-06 19:15:48 UTC
if you run systemctl stop gdm it doesn't kill the displays.
Created attachment 299035 [details] [review] manager: clean up manager in dispose not finalize Seems more appropriate.
Created attachment 299036 [details] [review] worker: kill session on SIGTERM I guess in the past the session has implicitly gone away when the display goes away, but now that the display is started implicitly by the session that isn't really true anymore. We need to explicitly kill the session when gdm is shutting down.
Created attachment 299037 [details] [review] manager: make sure to explicitly close user sessions in dispose We don't want ref count leaks to lead to unkilled sessions.
Attachment 299035 [details] pushed as e06ea3c - manager: clean up manager in dispose not finalize Attachment 299036 [details] pushed as 095c3a9 - worker: kill session on SIGTERM Attachment 299037 [details] pushed as f9c438c - manager: make sure to explicitly close user sessions in dispose There's still a ref count leak I need to deal with.
Created attachment 300636 [details] [review] manager: NULL unreferenced objects in dispose Now that we're using a dispose handler instead of a finalize handler, we need to make sure we nullify our objects after unrefing them.
Comment on attachment 300636 [details] [review] manager: NULL unreferenced objects in dispose Attachment 300636 [details] pushed as b48e39e - manager: NULL unreferenced objects in dispose