add workaround code for LifeDuration
authorhs321.lee <hs321.lee@samsung.com>
Sat, 27 Apr 2013 12:03:29 +0000 (21:03 +0900)
committerhs321.lee <hs321.lee@samsung.com>
Sat, 27 Apr 2013 12:03:29 +0000 (21:03 +0900)
Change-Id: I2242de1a01c79db0bc10fd172e11c026d09b0fcb
Signed-off-by: hs321.lee <hs321.lee@samsung.com>
src/app/FApp_ServiceAppImpl.cpp

index 6095ad0..4c59846 100644 (file)
@@ -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