From: Christian Grothoff Date: Tue, 3 Jul 2018 15:36:55 +0000 (+0200) Subject: assert no MQ error after MQ destroy X-Git-Tag: v0.11.0~322^2~91^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca09329c05855671f08611dc4cfafd19494842b0;p=oweals%2Fgnunet.git assert no MQ error after MQ destroy --- diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 319279110..92dd39b97 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -841,6 +841,7 @@ handle_mq_error (void *cls, h); GNUNET_MQ_destroy (h->mq); h->mq = NULL; + GNUNET_assert (NULL == h->reconnect_task); h->reconnect_task = GNUNET_SCHEDULER_add_delayed (h->reconnect_time, &reconnect_cbk, h);