diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-17 06:50:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-17 06:50:45 +0000 |
commit | 44d27e21d0a6aeb28169dfad686c65c3ee730e0b (patch) | |
tree | 1ccecb09e0ca52fa866171a1870b4d14dd2b8ab7 /src/fs/gnunet-fs-gtk.c | |
parent | 406fdbcea181a64fc0e00fabd72313b58bc27569 (diff) | |
download | gnunet-gtk-44d27e21d0a6aeb28169dfad686c65c3ee730e0b.tar.gz gnunet-gtk-44d27e21d0a6aeb28169dfad686c65c3ee730e0b.zip |
-fixing shutdown issues from #2217
Diffstat (limited to 'src/fs/gnunet-fs-gtk.c')
-rw-r--r-- | src/fs/gnunet-fs-gtk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk.c b/src/fs/gnunet-fs-gtk.c index b34f0f03..165492fd 100644 --- a/src/fs/gnunet-fs-gtk.c +++ b/src/fs/gnunet-fs-gtk.c | |||
@@ -199,13 +199,14 @@ GNUNET_FS_GTK_main_window_size_request (GtkWidget *main_window, | |||
199 | */ | 199 | */ |
200 | static void | 200 | static void |
201 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 201 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
202 | { | 202 | { |
203 | GNUNET_GTK_main_loop_quit (ml); | 203 | GNUNET_GTK_main_loop_quit (ml); |
204 | if (fs != NULL) | 204 | if (fs != NULL) |
205 | { | 205 | { |
206 | GNUNET_FS_stop (fs); | 206 | GNUNET_FS_stop (fs); |
207 | fs = NULL; | 207 | fs = NULL; |
208 | } | 208 | } |
209 | GNUNET_FS_GTK_close_uri_tab_ (); | ||
209 | } | 210 | } |
210 | 211 | ||
211 | 212 | ||