fix shutdown order
authorChristian Grothoff <christian@grothoff.org>
Wed, 9 Nov 2011 08:42:16 +0000 (08:42 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 9 Nov 2011 08:42:16 +0000 (08:42 +0000)
src/transport/gnunet-service-transport.c

index 542eb743ee0abc82fa907086d8577b16a272f46f..46c18f212ac1f4cb4703a38ca2b5ca070c70529e 100644 (file)
@@ -454,8 +454,8 @@ neighbours_disconnect_notification (void *cls,
 static void
 shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  GST_validation_stop ();
   GST_neighbours_stop ();
+  GST_validation_stop ();
   GST_plugins_unload ();
 
   GNUNET_ATS_scheduling_done (GST_ats);