From 52bfbf18c9cd352989e7dc112edded61f5964d81 Mon Sep 17 00:00:00 2001 From: Seongjun Yim Date: Fri, 23 Aug 2013 21:12:53 +0900 Subject: [PATCH] fix crash issue Change-Id: Ic883fafe21099dc65dee8861e77e466b3da33cbf Signed-off-by: Seongjun Yim --- src/controls/FWebCtrl_WebImpl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/controls/FWebCtrl_WebImpl.cpp b/src/controls/FWebCtrl_WebImpl.cpp index ed21705..857dbdb 100755 --- a/src/controls/FWebCtrl_WebImpl.cpp +++ b/src/controls/FWebCtrl_WebImpl.cpp @@ -2152,8 +2152,12 @@ _WebImpl::_WebImpl(Web* pWeb, Tizen::Ui::_Control* pCore) _WebImpl::~_WebImpl() { _WebManager* pWebManager = _WebManager::GetInstance(); + SysTryCatch(NID_WEB_CTRL, pWebManager, , E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY)); + pWebManager->RemoveWeb(reinterpret_cast< int >(this)); + pWebManager->RemoveActiveWeb(this); +CATCH: RemoveEventListenerCallback(); ClearCertificateDb(); -- 2.7.4