aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 22:38:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 22:38:34 +0100
commitd48900e14e41e1b767af6f8461105d5239c3c93e (patch)
tree48d586a48c980c002fde3e64f2e9db729f46fb0d /src/worker.c
parent665971625a939d5f8e5f41e99636f4e74ebca5d3 (diff)
downloadrspamd-d48900e14e41e1b767af6f8461105d5239c3c93e.tar.gz
rspamd-d48900e14e41e1b767af6f8461105d5239c3c93e.zip
Block signals when exiting event loop
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c
index cde69c2a1..8256b879e 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -360,6 +360,7 @@ start_worker (struct rspamd_worker *worker)
rspamd_stat_init (worker->srv->cfg);
event_base_loop (ctx->ev_base, 0);
+ rspamd_worker_block_signals ();
g_mime_shutdown ();
rspamd_stat_close ();