Cleanup the logger before exit
This commit is contained in:
parent
46c24d4a6e
commit
15225dd5f6
1 changed files with 2 additions and 0 deletions
|
@ -161,5 +161,7 @@ int main(int argc, char **argv) {
|
||||||
tm.start();
|
tm.start();
|
||||||
|
|
||||||
Log::notice("%s daemon exited", DAEMON_NAME);
|
Log::notice("%s daemon exited", DAEMON_NAME);
|
||||||
|
// Cleanup
|
||||||
|
Log::destroy();
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue