- fix
[oweals/gnunet.git] / src / util / plugin.c
index e15948b3c46f932aa011bed8e7ec56a6d6fefcfc..4e0385a0984d65c1aa11cb0a7a2f073d65c53ce1 100644 (file)
@@ -272,12 +272,12 @@ GNUNET_PLUGIN_unload (const char *library_name, void *arg)
     plugins = pos->next;
   else
     prev->next = pos->next;
-  //lt_dlclose (pos->handle);
+  lt_dlclose (pos->handle);
   GNUNET_free (pos->name);
   GNUNET_free (pos);
   if (plugins == NULL)
   {
-    //plugin_fini ();
+    plugin_fini ();
     initialized = GNUNET_NO;
   }
   return ret;