aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-05-09 13:32:11 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-05-09 13:32:11 +0000
commit2063b459527ebc330067b1fbe16abe963fad80a2 (patch)
tree3075ebea65d5971241e8e360dc842eebe75a752e /src
parentd0b8b89bd8325104b486f24ea8630e9065b91afd (diff)
downloadgnunet-2063b459527ebc330067b1fbe16abe963fad80a2.tar.gz
gnunet-2063b459527ebc330067b1fbe16abe963fad80a2.zip
fix for mantis 2330#c5818
GNUNET_SERVER_notification_context_destroy does not cancel transmit_ready
Diffstat (limited to 'src')
-rw-r--r--src/util/server_nc.c5
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 {