From: Mu-Woong Lee Date: Thu, 29 Dec 2016 09:37:52 +0000 (+0900) Subject: Do not deinit the alarm-service during the daemon runs X-Git-Tag: submit/tizen/20170103.072008^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F107711%2F2;p=platform%2Fcore%2Fcontext%2Fcontext-service.git Do not deinit the alarm-service during the daemon runs Change-Id: I732023be8e4bed2b2c9740ed2276bd9ea6fcce90 Signed-off-by: Mu-Woong Lee --- diff --git a/src/Server.cpp b/src/Server.cpp index 34d4fe2..197b0d6 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #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()