From 1586e4e4bbf011e05983dce51eca34505b80fcf4 Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Thu, 14 Mar 2013 15:24:23 +0900 Subject: [PATCH] delete dangling LiveboxPopupContext instance for exceptional case Change-Id: Iad8f1604730dea55bf928dba171c14d795e46ce3 Signed-off-by: jungmin76.park --- src/FShell_LiveboxContext.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/FShell_LiveboxContext.cpp b/src/FShell_LiveboxContext.cpp index 84bfb0a..9f2dd14 100644 --- a/src/FShell_LiveboxContext.cpp +++ b/src/FShell_LiveboxContext.cpp @@ -84,6 +84,13 @@ _LiveboxContext::~_LiveboxContext() SysLog(NID_APP, "appId(%ls), instanceId(%ls), width(%d), height(%d), priority(%d)", __providerId.GetPointer(), __instanceId.GetPointer(), __width, __height, __priority); __lifeDurationTimer.Cancel(); __UpdateTimer.Cancel(); + + if (__pLiveboxPopup) + { + SysLog(NID_APP, "Destroying dangling LiveboxPopup instance.."); + __pLiveboxPopup->OnPopupDestoyed(); + delete __pLiveboxPopup; + } } _LiveboxPopupContext* -- 2.34.1