Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
gdm.2185
gdm-slave-fix-infinite-loop-on-shutdown.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-slave-fix-infinite-loop-on-shutdown.patch of Package gdm.2185
From 744a18191110dcc75e95a2275ad28e5bb3204d70 Mon Sep 17 00:00:00 2001 From: Ray Strode <rstrode@redhat.com> Date: Mon, 16 Dec 2013 16:57:19 -0500 Subject: [PATCH] slave: fix infinite loop on shutdown we stop something that calls stop in some circumstances. This commit breaks the loop. https://bugzilla.gnome.org/show_bug.cgi?id=712767 --- daemon/gdm-simple-slave.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c index 1fe58bc..d83216b 100644 --- a/daemon/gdm-simple-slave.c +++ b/daemon/gdm-simple-slave.c @@ -1668,8 +1668,23 @@ gdm_simple_slave_stop (GdmSlave *slave) GDM_SLAVE_CLASS (gdm_simple_slave_parent_class)->stop (slave); if (self->priv->greeter_environment != NULL) { - stop_greeter (self); - self->priv->greeter_environment = NULL; + g_signal_handlers_disconnect_by_func (G_OBJECT (self->priv->greeter_environment), + G_CALLBACK (on_greeter_environment_session_opened), + self); + g_signal_handlers_disconnect_by_func (G_OBJECT (self->priv->greeter_environment), + G_CALLBACK (on_greeter_environment_session_started), + self); + g_signal_handlers_disconnect_by_func (G_OBJECT (self->priv->greeter_environment), + G_CALLBACK (on_greeter_environment_session_stopped), + self); + g_signal_handlers_disconnect_by_func (G_OBJECT (self->priv->greeter_environment), + G_CALLBACK (on_greeter_environment_session_exited), + self); + g_signal_handlers_disconnect_by_func (G_OBJECT (self->priv->greeter_environment), + G_CALLBACK (on_greeter_environment_session_died), + self); + gdm_launch_environment_stop (GDM_LAUNCH_ENVIRONMENT (self->priv->greeter_environment)); + g_clear_object (&self->priv->greeter_environment); } if (self->priv->start_session_id > 0) { -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor