From: jungmin76.park Date: Thu, 14 Mar 2013 06:24:23 +0000 (+0900) Subject: delete dangling LiveboxPopupContext instance for exceptional case X-Git-Tag: submit/tizen_2.1/20130424.232341~11^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1586e4e4bbf011e05983dce51eca34505b80fcf4;p=platform%2Fframework%2Fnative%2Fappwidget-service.git delete dangling LiveboxPopupContext instance for exceptional case Change-Id: Iad8f1604730dea55bf928dba171c14d795e46ce3 Signed-off-by: jungmin76.park --- 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*