aboutsummaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index ca9919a5..81724cce 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -90,7 +90,7 @@ static int parseOptions(int argc,
90 90
91static void * shutdownCode(void * unused) { 91static void * shutdownCode(void * unused) {
92 stopCron(); 92 stopCron();
93 doneGNUnetGTKCommon(); 93 shutdownPlugins();
94 return NULL; 94 return NULL;
95} 95}
96 96
@@ -130,6 +130,7 @@ int main(int argc,
130 setCustomLogProc(NULL); 130 setCustomLogProc(NULL);
131 run_with_save_calls(&shutdownCode, 131 run_with_save_calls(&shutdownCode,
132 NULL); 132 NULL);
133 doneGNUnetGTKCommon();
133 doneUtil(); 134 doneUtil();
134 135
135 return 0; 136 return 0;