Cleanup the logger before exit

This commit is contained in:
Micke Prag 2012-11-22 12:19:14 +01:00
parent 46c24d4a6e
commit 15225dd5f6

View file

@ -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);
} }