Change-Id: Ie1e96c23e367b5e4926457a43861ffb8a90b684c
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
_WebPopup::~_WebPopup(void)
{
+ _WebManager* pWebManager = _WebManager::GetInstance();
+ pWebManager->RemoveActivePopup(this);
+
if (IsModalPopup())
{
HidePopup();
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;