summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_loop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-21 19:11:27 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-21 19:11:27 +0100
commita252daa6a1b3fe5b22757e7aeffc502e7f098261 (patch)
tree5f442d527016b1aab5ad1929eb743440a5a303eb /src/exchange-lib/testing_api_loop.c
parentd09beecc8f5f111538208b7b8da100e0a7015cda (diff)
downloadexchange-a252daa6a1b3fe5b22757e7aeffc502e7f098261.tar.gz
exchange-a252daa6a1b3fe5b22757e7aeffc502e7f098261.tar.bz2
exchange-a252daa6a1b3fe5b22757e7aeffc502e7f098261.zip
factor out more helpers
Diffstat (limited to 'src/exchange-lib/testing_api_loop.c')
-rw-r--r--src/exchange-lib/testing_api_loop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange-lib/testing_api_loop.c b/src/exchange-lib/testing_api_loop.c
index 22d786703..47175fe47 100644
--- a/src/exchange-lib/testing_api_loop.c
+++ b/src/exchange-lib/testing_api_loop.c
@@ -253,6 +253,11 @@ do_shutdown (void *cls)
GNUNET_SCHEDULER_cancel (is->timeout_task);
is->timeout_task = NULL;
}
+ if (NULL != is->child_death_task)
+ {
+ GNUNET_SCHEDULER_cancel (is->child_death_task);
+ is->child_death_task = NULL;
+ }
GNUNET_free_non_null (is->commands);
}