summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-19 11:44:12 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-19 11:44:12 +0100
commitb221e4da1eb8d030fc9d25c6dd7ae1643d151491 (patch)
tree0dfbdc512244a52dc9aa3cbddefba06e5c449462 /src/fs
parent3160d1fececbca17d4856ea1f792ffe9ae2e3062 (diff)
on shutdown, also stop reset tasks
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/gnunet-service-fs_cadet_client.c5
1 files changed, 5 insertions, 0 deletions
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;
}