output: deinit last so logging can happen until the end

pull/9380/head
Victor Julien 2 years ago
parent b130234b26
commit e5e58d5647

@ -408,7 +408,6 @@ static void GlobalsDestroy(SCInstance *suri)
#ifdef HAVE_LUAJIT
LuajitFreeStatesPool();
#endif
SCLogDeInitLogModule();
DetectParseFreeRegexes();
SCThresholdConfGlobalFree();
@ -417,6 +416,7 @@ static void GlobalsDestroy(SCInstance *suri)
suri->pid_filename = NULL;
VarNameStoreDestroy();
SCLogDeInitLogModule();
}
/**

Loading…
Cancel
Save