From 4a863e0eec9a202385b1370d6e68bef47787f3cb Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Tue, 2 Aug 2011 08:38:03 +1000 Subject: [PATCH] Move signal disconnection earlier to hopefully fix SEGV I can't actually reproduce this, but this is possibly the fix. (Hopefully) Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654914 --- src/empathy-debug-window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c index 3874fe8d..3ce41760 100644 --- a/src/empathy-debug-window.c +++ b/src/empathy-debug-window.c @@ -1700,6 +1700,9 @@ debug_window_dispose (GObject *object) if (priv->name_owner_changed_signal != NULL) tp_proxy_signal_connection_disconnect (priv->name_owner_changed_signal); + if (priv->new_debug_message_signal != NULL) + tp_proxy_signal_connection_disconnect (priv->new_debug_message_signal); + if (priv->proxy != NULL) { debug_window_set_enabled (EMPATHY_DEBUG_WINDOW (object), FALSE); @@ -1707,9 +1710,6 @@ debug_window_dispose (GObject *object) g_object_unref (priv->proxy); } - if (priv->new_debug_message_signal != NULL) - tp_proxy_signal_connection_disconnect (priv->new_debug_message_signal); - if (priv->service_store != NULL) g_object_unref (priv->service_store); -- 2.39.2