projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b8b89
)
fix for mantis 2330#c5818
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 9 May 2012 13:32:11 +0000
(13:32 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 9 May 2012 13:32:11 +0000
(13:32 +0000)
GNUNET_SERVER_notification_context_destroy does not cancel transmit_ready
src/util/server_nc.c
patch
|
blob
|
history
diff --git
a/src/util/server_nc.c
b/src/util/server_nc.c
index f6b0d8e22f4c62583f37e3c8068d1ec00fda5706..6e0181ecbfa5d1e05b0ef0e1229595353b3f4e24 100644
(file)
--- a/
src/util/server_nc.c
+++ b/
src/util/server_nc.c
@@
-236,6
+236,11
@@
GNUNET_SERVER_notification_context_destroy (struct
GNUNET_CONTAINER_DLL_remove (nc->clients_head,
nc->clients_tail,
pos);
+ if (NULL != pos->th)
+ {
+ GNUNET_SERVER_notify_transmit_ready_cancel(pos->th);
+ pos->th = NULL;
+ }
GNUNET_SERVER_client_drop (pos->client);
while (NULL != (pml = pos->pending_head))
{