rps: close port before disconnecting
authorJulius Bünger <buenger@mytum.de>
Wed, 27 Dec 2017 14:06:30 +0000 (15:06 +0100)
committerJulius Bünger <buenger@mytum.de>
Wed, 27 Dec 2017 14:06:30 +0000 (15:06 +0100)
src/rps/gnunet-service-rps.c

index 177be908582d6b532daf0fb8376bacfd86257290..d3d642ee0f6e716c2e2d05c7d30dd7bf06633902 100644 (file)
@@ -2147,6 +2147,7 @@ shutdown_task (void *cls)
   GNUNET_NSE_disconnect (nse);
   RPS_sampler_destroy (prot_sampler);
   RPS_sampler_destroy (client_sampler);
+  GNUNET_CADET_close_port (cadet_port);
   GNUNET_CADET_disconnect (cadet_handle);
   View_destroy ();
   CustomPeerMap_destroy (push_map);