Do not deinit the alarm-service during the daemon runs 11/107711/2
authorMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 29 Dec 2016 09:37:52 +0000 (18:37 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Thu, 29 Dec 2016 09:40:04 +0000 (01:40 -0800)
Change-Id: I732023be8e4bed2b2c9740ed2276bd9ea6fcce90
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/Server.cpp

index 34d4fe2..197b0d6 100644 (file)
@@ -20,6 +20,7 @@
 #include <glib-object.h>
 
 #include <Types.h>
+#include <TimerManager.h>
 #include <DatabaseManager.h>
 #include "DBusServer.h"
 #include "ContextManager.h"
@@ -38,6 +39,7 @@ static ctx::ContextManager *__contextMgr = NULL;
 static ctx::DBusServer *__dbusHandle = NULL;
 static ctx::PolicyManager *__policyMgr = NULL;
 static ctx::trigger::Trigger *__contextTrigger = NULL;
+static ctx::TimerManager __timerManager;
 
 /* TODO: re-organize activation & deactivation processes */
 void ctx::Server::initialize()