fix psyc service being unwilling to shutdown
authorlurchi <lurchi@strangeplace.net>
Tue, 7 Feb 2017 22:44:20 +0000 (23:44 +0100)
committerlurchi <lurchi@strangeplace.net>
Tue, 7 Feb 2017 22:46:49 +0000 (23:46 +0100)
src/psyc/gnunet-service-psyc.c

index eab74b4673c1774159c6168002f5e6e385671e9d..73a3ae4ee92c86232368522dbdd560e869eb6472 100644 (file)
@@ -467,6 +467,9 @@ schedule_transmit_message (void *cls)
 static void
 shutdown_task (void *cls)
 {
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+              "shutting down...\n");
+  GNUNET_PSYCSTORE_disconnect (store);
   if (NULL != stats)
   {
     GNUNET_STATISTICS_destroy (stats, GNUNET_YES);