try fix shutdown order
authorChristian Grothoff <christian@grothoff.org>
Tue, 18 Oct 2011 15:45:56 +0000 (15:45 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 18 Oct 2011 15:45:56 +0000 (15:45 +0000)
src/core/gnunet-service-core.c

index 25cabde2ebdcbfd39b3bbe85d22e6996f87a1467..01387b66e0576d1d5c5474845ae5dfda24a7e142 100644 (file)
@@ -65,8 +65,8 @@ cleaning_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
              "Core service shutting down.\n");
 #endif
   GSC_CLIENTS_done ();
-  GSC_SESSIONS_done ();
   GSC_NEIGHBOURS_done ();
+  GSC_SESSIONS_done ();
   GSC_KX_done ();
   GSC_TYPEMAP_done ();
   if (GSC_stats != NULL)