gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5837 - GNUnet/src/applications/fs/module


From: gnunet
Subject: [GNUnet-SVN] r5837 - GNUnet/src/applications/fs/module
Date: Sun, 9 Dec 2007 16:26:32 -0700 (MST)

Author: grothoff
Date: 2007-12-09 16:26:31 -0700 (Sun, 09 Dec 2007)
New Revision: 5837

Modified:
   GNUnet/src/applications/fs/module/fs.c
   GNUnet/src/applications/fs/module/querymanager.c
Log:
fix

Modified: GNUnet/src/applications/fs/module/fs.c
===================================================================
--- GNUnet/src/applications/fs/module/fs.c      2007-12-09 22:22:48 UTC (rev 
5836)
+++ GNUnet/src/applications/fs/module/fs.c      2007-12-09 23:26:31 UTC (rev 
5837)
@@ -1370,7 +1370,6 @@
                     unregisterClientHandler
                     (GNUNET_CS_PROTO_GAP_GET_AVG_PRIORITY,
                      &csHandleRequestGetAvgPriority));
-  doneQueryManager ();
   while (lg_jobs != NULL)
     {
       job = lg_jobs->next;
@@ -1380,6 +1379,7 @@
     }
   GNUNET_semaphore_up (ltgSignal);      /* lg_jobs == NULL => thread will 
terminate */
   GNUNET_thread_join (localGetProcessor, &unused);
+  doneQueryManager ();
   coreAPI->releaseService (datastore);
   datastore = NULL;
   if (stats != NULL)

Modified: GNUnet/src/applications/fs/module/querymanager.c
===================================================================
--- GNUnet/src/applications/fs/module/querymanager.c    2007-12-09 22:22:48 UTC 
(rev 5836)
+++ GNUnet/src/applications/fs/module/querymanager.c    2007-12-09 23:26:31 UTC 
(rev 5837)
@@ -257,6 +257,7 @@
 
   coreAPI->unregisterClientExitHandler (&ceh);
   GNUNET_mutex_destroy (queryManagerLock);
+  queryManagerLock = NULL;
   coreAPI = NULL;
   ectx = NULL;
 }





reply via email to

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