From 15225dd5f6a771a8295b32afa96a27346dde00b9 Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Thu, 22 Nov 2012 12:19:14 +0100 Subject: [PATCH] Cleanup the logger before exit --- telldus-core/service/main_unix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/telldus-core/service/main_unix.cpp b/telldus-core/service/main_unix.cpp index c6e4f178..07c119d3 100644 --- a/telldus-core/service/main_unix.cpp +++ b/telldus-core/service/main_unix.cpp @@ -161,5 +161,7 @@ int main(int argc, char **argv) { tm.start(); Log::notice("%s daemon exited", DAEMON_NAME); + // Cleanup + Log::destroy(); exit(EXIT_SUCCESS); }