From af36cdca236bfd642b0ab8f17a842998adbf79e0 Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Mon, 23 Mar 2020 17:05:33 +0900 Subject: [PATCH] Remove suspend timer when resuming app Change-Id: Ieb0849c21d21012ee32d51cfbdc3ced7685bbe81 Signed-off-by: Junghoon Park --- src/base/appcore_base.c | 2 ++ src/ui_base/appcore_ui_base.c | 1 + 2 files changed, 3 insertions(+) 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); -- 2.7.4