gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: completing gnunet-service-a


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: completing gnunet-service-ats-new (in theory)
Date: Thu, 06 Dec 2018 17:32:53 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new aa6e0a194 completing gnunet-service-ats-new (in theory)
aa6e0a194 is described below

commit aa6e0a1941f98ed90947aa5e3671438cb381995c
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Dec 6 17:32:52 2018 +0100

    completing gnunet-service-ats-new (in theory)
---
 src/ats/gnunet-service-ats-new.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/ats/gnunet-service-ats-new.c b/src/ats/gnunet-service-ats-new.c
index c4ce4e0bb..d3b2f1ead 100644
--- a/src/ats/gnunet-service-ats-new.c
+++ b/src/ats/gnunet-service-ats-new.c
@@ -20,9 +20,6 @@
  * @brief ats service
  * @author Matthias Wachs
  * @author Christian Grothoff
- *
- * TODO:
- * - implement unloading of ATS plugins
  */
 #include "platform.h"
 #include "gnunet_util_lib.h"
@@ -655,6 +652,12 @@ cleanup_task (void *cls)
                               GNUNET_NO);
     stats = NULL;
   }
+  if (NULL != plugin)
+  {
+    GNUNET_PLUGIN_unload (plugin_name,
+                         plugin);
+    plugin = NULL;
+  }
   if (NULL != plugin_name)
   {
     GNUNET_free (plugin_name);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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