From: Junghoon Park Date: Mon, 23 Mar 2020 08:05:33 +0000 (+0900) Subject: Remove suspend timer when resuming app X-Git-Tag: accepted/tizen/5.5/unified/20200406.133241~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af36cdca236bfd642b0ab8f17a842998adbf79e0;p=platform%2Fcore%2Fappfw%2Fapp-core.git Remove suspend timer when resuming app Change-Id: Ieb0849c21d21012ee32d51cfbdc3ced7685bbe81 Signed-off-by: Junghoon Park --- diff --git a/src/base/appcore_base.c b/src/base/appcore_base.c index 6ac694a..a4b4f73 100644 --- a/src/base/appcore_base.c +++ b/src/base/appcore_base.c @@ -1200,6 +1200,8 @@ EXPORT_API void appcore_base_fini(void) __context.sid = 0; } + __remove_suspend_timer(); + g_list_free_full(__events, free); __events = NULL; diff --git a/src/ui_base/appcore_ui_base.c b/src/ui_base/appcore_ui_base.c index 8842a1b..db70d35 100644 --- a/src/ui_base/appcore_ui_base.c +++ b/src/ui_base/appcore_ui_base.c @@ -328,6 +328,7 @@ static void __do_resume(void) LOG(LOG_DEBUG, "LAUNCH", "[%s:Application:resume:start]", __context.appid); traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:RESUME"); _DBG("Call resume callback"); + appcore_base_remove_suspend_timer(); __context.ops.resume(__context.data); traceEnd(TTRACE_TAG_APPLICATION_MANAGER); LOG(LOG_DEBUG, "LAUNCH", "[%s:Application:resume:done]", __context.appid);