- fix shutdown order
authorBart Polot <bart@net.in.tum.de>
Tue, 19 Nov 2013 15:32:04 +0000 (15:32 +0000)
committerBart Polot <bart@net.in.tum.de>
Tue, 19 Nov 2013 15:32:04 +0000 (15:32 +0000)
src/mesh/gnunet-service-mesh.c
src/mesh/gnunet-service-mesh_tunnel.c

index 214fc90fc288b8f51301d44b79cbfd67955263e9..1f8a58b604a26c4d2ed23d7be0eda5f7bec6343f 100644 (file)
@@ -100,9 +100,9 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   GML_shutdown ();
   GMD_shutdown ();
-  GMP_shutdown ();
   GMC_shutdown ();
   GMT_shutdown ();
+  GMP_shutdown ();
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "shut down\n");
 }
index 0cb269427751a0977f011e0bfd6e5fbbfbe7b0da..1b4e717cabf3aa8410a1635ae2fc0086172190e0 100644 (file)
@@ -1644,7 +1644,6 @@ GMT_destroy (struct MeshTunnel3 *t)
   struct MeshTChannel *iter_ch;
   struct MeshTChannel *next_ch;
 
-
   if (NULL == t)
     return;