diff options
-rw-r--r-- | src/main/gnunet-gtk.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/gnunet-gtk.c b/src/main/gnunet-gtk.c index 0ce872e3..fa5cf4a6 100644 --- a/src/main/gnunet-gtk.c +++ b/src/main/gnunet-gtk.c | |||
@@ -150,8 +150,13 @@ cleanup_task (void *cls, | |||
150 | GNUNET_SCHEDULER_cancel (p->restart_task); | 150 | GNUNET_SCHEDULER_cancel (p->restart_task); |
151 | p->restart_task = GNUNET_SCHEDULER_NO_TASK; | 151 | p->restart_task = GNUNET_SCHEDULER_NO_TASK; |
152 | } | 152 | } |
153 | g_signal_handler_disconnect (p->s, | 153 | /* This object is long gone, as part of the cleanup |
154 | p->sig_id); | 154 | of the window from gtk_window_dispose that is |
155 | triggered with the shutdown; so we should not | ||
156 | do it here. (Keeping commented out to show | ||
157 | that there is symmetry with initialization -- | ||
158 | kind-of) */ | ||
159 | /* g_signal_handler_disconnect (p->s, p->sig_id); */ | ||
155 | GNUNET_CONTAINER_DLL_remove (p_head, | 160 | GNUNET_CONTAINER_DLL_remove (p_head, |
156 | p_tail, | 161 | p_tail, |
157 | p); | 162 | p); |