aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/fs.c')
-rw-r--r--src/plugins/fs/fs.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/plugins/fs/fs.c b/src/plugins/fs/fs.c
index 1f68b36e..a0d1e227 100644
--- a/src/plugins/fs/fs.c
+++ b/src/plugins/fs/fs.c
@@ -118,8 +118,10 @@ static void eventProcessor(void * cls,
118static void * shutdownCode(Semaphore * sig) { 118static void * shutdownCode(Semaphore * sig) {
119 fs_download_stop(); 119 fs_download_stop();
120 fs_search_stop(); 120 fs_search_stop();
121 FSUI_stop(ctx); 121 fs_collection_stop();
122 fs_namespace_stop();
122 fs_upload_stop(); 123 fs_upload_stop();
124 FSUI_stop(ctx);
123 SEMAPHORE_UP(sig); 125 SEMAPHORE_UP(sig);
124 return NULL; 126 return NULL;
125} 127}
@@ -155,11 +157,6 @@ void done_fs() {
155 Semaphore * sig; 157 Semaphore * sig;
156 void * unused; 158 void * unused;
157 159
158 fs_upload_stop();
159 fs_download_stop();
160 fs_search_stop();
161 fs_namespace_stop();
162 fs_collection_stop();
163 sig = SEMAPHORE_NEW(0); 160 sig = SEMAPHORE_NEW(0);
164 if (0 != PTHREAD_CREATE(&doneThread, 161 if (0 != PTHREAD_CREATE(&doneThread,
165 (PThreadMain)&shutdownCode, 162 (PThreadMain)&shutdownCode,