[gnome-software/wip/attente/gapplication] Fix crash



commit bff76bd534651501badce18b326fa3d2b2423b22
Author: William Hua <william hua canonical com>
Date:   Tue Mar 22 17:36:43 2016 -0400

    Fix crash

 src/gs-shell-updates.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index e1e17f2..72aaf27 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -1209,6 +1209,8 @@ gs_shell_updates_dispose (GObject *object)
 {
        GsShellUpdates *self = GS_SHELL_UPDATES (object);
 
+       g_signal_handlers_disconnect_by_data (self->plugin_loader, self);
+
        if (self->network_changed_handler != 0) {
                g_signal_handler_disconnect (self->network_monitor, self->network_changed_handler);
                self->network_changed_handler = 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]