gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21383 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r21383 - gnunet/src/util
Date: Wed, 9 May 2012 15:32:11 +0200

Author: wachs
Date: 2012-05-09 15:32:11 +0200 (Wed, 09 May 2012)
New Revision: 21383

Modified:
   gnunet/src/util/server_nc.c
Log:
fix for mantis 2330#c5818
GNUNET_SERVER_notification_context_destroy does not cancel transmit_ready



Modified: gnunet/src/util/server_nc.c
===================================================================
--- gnunet/src/util/server_nc.c 2012-05-09 13:25:23 UTC (rev 21382)
+++ gnunet/src/util/server_nc.c 2012-05-09 13:32:11 UTC (rev 21383)
@@ -236,6 +236,11 @@
     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))
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]