gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r34681 - gnunet-gtk/src/main


From: gnunet
Subject: [GNUnet-SVN] r34681 - gnunet-gtk/src/main
Date: Wed, 17 Dec 2014 19:17:24 +0100

Author: grothoff
Date: 2014-12-17 19:17:23 +0100 (Wed, 17 Dec 2014)
New Revision: 34681

Modified:
   gnunet-gtk/src/main/gnunet-gtk.c
Log:
-do not use free'd object during shutdown

Modified: gnunet-gtk/src/main/gnunet-gtk.c
===================================================================
--- gnunet-gtk/src/main/gnunet-gtk.c    2014-12-17 18:01:18 UTC (rev 34680)
+++ gnunet-gtk/src/main/gnunet-gtk.c    2014-12-17 18:17:23 UTC (rev 34681)
@@ -150,8 +150,13 @@
       GNUNET_SCHEDULER_cancel (p->restart_task);
       p->restart_task = GNUNET_SCHEDULER_NO_TASK;
     }
-    g_signal_handler_disconnect (p->s,
-                                 p->sig_id);
+    /* This object is long gone, as part of the cleanup
+       of the window from gtk_window_dispose that is
+       triggered with the shutdown; so we should not
+       do it here. (Keeping commented out to show
+       that there is symmetry with initialization --
+       kind-of) */
+    /* g_signal_handler_disconnect (p->s, p->sig_id); */
     GNUNET_CONTAINER_DLL_remove (p_head,
                                  p_tail,
                                  p);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]