fix rps profiler: mark cancelled task as done
authorJulius Bünger <buenger@mytum.de>
Tue, 3 Jul 2018 15:27:10 +0000 (17:27 +0200)
committerJulius Bünger <buenger@mytum.de>
Tue, 3 Jul 2018 19:08:38 +0000 (21:08 +0200)
src/rps/gnunet-rps-profiler.c

index 16f23e86cb36aa0d8d4c10d596741eb12b414f8a..54dc7d65ee820ba18f86c315239b47912a4a47db 100644 (file)
@@ -888,6 +888,7 @@ shutdown_op (void *cls)
   if (NULL != post_test_task)
   {
     GNUNET_SCHEDULER_cancel (post_test_task);
+    post_test_task = NULL;
   }
   if (NULL != churn_task)
   {