From 40f7bcdfa82eb15e8150a3360f2f7060a0e85a8e Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Thu, 25 Apr 2013 16:31:46 +0900 Subject: [PATCH] add workaround code for LifeDuration Change-Id: I3851fe04e93597f3f953b90945e201d74752f628 Signed-off-by: jungmin76.park --- src/app/FApp_ServiceAppImpl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/FApp_ServiceAppImpl.cpp b/src/app/FApp_ServiceAppImpl.cpp index 6095ad0..b87ab07 100644 --- a/src/app/FApp_ServiceAppImpl.cpp +++ b/src/app/FApp_ServiceAppImpl.cpp @@ -319,7 +319,10 @@ _ServiceAppImpl::OnTimerExpired(Timer& timer) { SysLog(NID_APP, "Life duration timer is expired, so terminating the application."); timer.Cancel(); - App::GetInstance()->Terminate(); + if( __pAppTerminatingInternalEventListener )//Fixme: work around code, + { + App::GetInstance()->Terminate(); + } } void -- 2.7.4