diff options
-rw-r--r-- | src/util/server_nc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/server_nc.c b/src/util/server_nc.c index f6b0d8e22..6e0181ecb 100644 --- a/src/util/server_nc.c +++ b/src/util/server_nc.c | |||
@@ -236,6 +236,11 @@ GNUNET_SERVER_notification_context_destroy (struct | |||
236 | GNUNET_CONTAINER_DLL_remove (nc->clients_head, | 236 | GNUNET_CONTAINER_DLL_remove (nc->clients_head, |
237 | nc->clients_tail, | 237 | nc->clients_tail, |
238 | pos); | 238 | pos); |
239 | if (NULL != pos->th) | ||
240 | { | ||
241 | GNUNET_SERVER_notify_transmit_ready_cancel(pos->th); | ||
242 | pos->th = NULL; | ||
243 | } | ||
239 | GNUNET_SERVER_client_drop (pos->client); | 244 | GNUNET_SERVER_client_drop (pos->client); |
240 | while (NULL != (pml = pos->pending_head)) | 245 | while (NULL != (pml = pos->pending_head)) |
241 | { | 246 | { |