From 543ae8dc748bafef6487ce1429b9dfdf6f72f570 Mon Sep 17 00:00:00 2001 From: hyun lee Date: Wed, 11 Sep 2013 16:51:43 +0900 Subject: [PATCH] Fix for crash issue Change-Id: Ie1e96c23e367b5e4926457a43861ffb8a90b684c Signed-off-by: hyun lee --- src/controls/FWebCtrl_WebPopup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controls/FWebCtrl_WebPopup.cpp b/src/controls/FWebCtrl_WebPopup.cpp index e1ca104..073f79e 100755 --- a/src/controls/FWebCtrl_WebPopup.cpp +++ b/src/controls/FWebCtrl_WebPopup.cpp @@ -51,6 +51,9 @@ _WebPopup::_WebPopup(void) _WebPopup::~_WebPopup(void) { + _WebManager* pWebManager = _WebManager::GetInstance(); + pWebManager->RemoveActivePopup(this); + if (IsModalPopup()) { HidePopup(); @@ -125,9 +128,6 @@ _WebPopup::HidePopup(int modalResult) r = SetShowState(false); SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r)); - _WebManager* pWebManager = _WebManager::GetInstance(); - pWebManager->RemoveActivePopup(this); - if (__isModal) { __modal = modalResult; -- 2.7.4