[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/17: cancel potentially dangling reconnect task
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/17: cancel potentially dangling reconnect task |
Date: |
Mon, 09 Jan 2017 21:19:08 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 2024b175d543b5a36dab4e5a616a11e5ab284d29
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 9 08:30:41 2017 +0100
cancel potentially dangling reconnect task
---
src/nat/nat_api.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/nat/nat_api.c b/src/nat/nat_api.c
index 5b4c39682..810d35649 100644
--- a/src/nat/nat_api.c
+++ b/src/nat/nat_api.c
@@ -714,6 +714,11 @@ GNUNET_NAT_unregister (struct GNUNET_NAT_Handle *nh)
GNUNET_MQ_destroy (nh->mq);
nh->mq = NULL;
}
+ if (NULL != nh->reconnect_task)
+ {
+ GNUNET_SCHEDULER_cancel (nh->reconnect_task);
+ nh->reconnect_task = NULL;
+ }
GNUNET_free (nh->reg);
GNUNET_free (nh);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] 13/17: cosmetics, (continued)
- [GNUnet-SVN] [gnunet] 13/17: cosmetics, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 05/17: ignore zonefiles dir, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 07/17: rename new core API implementation to name of standard implementation, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 08/17: rename new client API implementation to name of standard implementation, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 04/17: dead code elimination, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 03/17: handle transmissions initiated during disconnect callbacks by dropping, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 12/17: enable upnpc by default, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 01/17: out-of-order PIDs are not exactly protocol violations, hence do not report as such, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 10/17: fix link issue, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 09/17: log at DEBUG level, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 02/17: cancel potentially dangling reconnect task,
gnunet <=
- [GNUnet-SVN] [gnunet] 16/17: do not attempt to publish empty HELLOs, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 14/17: improve comments, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 17/17: cosmetics, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 11/17: eliminate dead NAT options, gnunet, 2017/01/09
- [GNUnet-SVN] [gnunet] 06/17: remove legacy core api code (now dead), gnunet, 2017/01/09