From 5b929c0be02d48b7a729ec889c0b15177856768f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 18 Sep 2013 17:11:26 +0000 Subject: [PATCH] -cleaner shutdown --- src/gns/gnunet-service-gns.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index b7eb1f809..092bba705 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c @@ -207,6 +207,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_SERVER_notification_context_destroy (nc); while (NULL != (clh = clh_head)) { + GNUNET_SERVER_client_set_user_context (clh->client, NULL); GNS_resolver_lookup_cancel (clh->lookup); GNUNET_CONTAINER_DLL_remove (clh_head, clh_tail, clh); GNUNET_free (clh); -- 2.25.1