aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 18ce87cd0..398c2307e 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1950,6 +1950,7 @@ start_controller_worker (struct rspamd_worker *worker)
event_base_loop (ctx->ev_base, 0);
g_mime_shutdown ();
+ rspamd_stat_close ();
rspamd_http_router_free (ctx->http);
rspamd_log_close (rspamd_main->logger);
exit (EXIT_SUCCESS);