From b221e4da1eb8d030fc9d25c6dd7ae1643d151491 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 19 Feb 2019 11:44:12 +0100 Subject: [PATCH] on shutdown, also stop reset tasks --- src/fs/gnunet-service-fs_cadet_client.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fs/gnunet-service-fs_cadet_client.c b/src/fs/gnunet-service-fs_cadet_client.c index 900600096..9ba250dfa 100644 --- a/src/fs/gnunet-service-fs_cadet_client.c +++ b/src/fs/gnunet-service-fs_cadet_client.c @@ -750,6 +750,11 @@ GSF_cadet_release_clients (void *cls, mh->channel = NULL; GNUNET_CADET_channel_destroy (channel); } + if (NULL != mh->reset_task) + { + GNUNET_SCHEDULER_cancel (mh->reset_task); + mh->reset_task = NULL; + } return GNUNET_YES; } -- 2.25.1