do dbQUeue.stop in logTerm so we don't have to have an extra line in every executable
This commit is contained in:
parent
48f79da892
commit
59b1927ad6
|
@ -570,6 +570,7 @@ void logInit(const char *name, const Logger::Options &options) {
|
|||
}
|
||||
|
||||
void logTerm() {
|
||||
dbQueue.stop();
|
||||
if (Logger::smInstance) {
|
||||
delete Logger::smInstance;
|
||||
Logger::smInstance = nullptr;
|
||||
|
|
|
@ -378,7 +378,6 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
Image::Deinitialise();
|
||||
dbQueue.stop();
|
||||
Debug(1, "terminating");
|
||||
logTerm();
|
||||
zmDbClose();
|
||||
|
|
Loading…
Reference in New Issue