rule reloads: don't lock up main thread so clean shutdown is impossible

pull/40/head
Victor Julien 13 years ago
parent cbeb8a86b7
commit 408548c2c4

@ -88,6 +88,9 @@ static void *DetectEngineLiveRuleSwap(void *arg)
/* block usr2. usr2 to be handled by the main thread only */
UtilSignalBlock(SIGUSR2);
/* release TmThreadSpawn */
TmThreadsSetFlag(tv_local, THV_INIT_DONE);
ConfDeInit();
ConfInit();

Loading…
Cancel
Save