summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-05 16:13:41 +0900
committerSangpyo Kim <sangpyo7.kim@samsung.com>2012-09-05 16:20:10 +0900
commitf90248a066e9ea5caea36710dabfad6780ce44e7 (patch)
tree2ac59fece43ec62d460c4c94ddf7048a4d73a06d /src
parent4a4f0ae1cb0252d029d19ad73021aa7e68db757b (diff)
downloadorg.tizen.browser-f90248a066e9ea5caea36710dabfad6780ce44e7.tar.gz
org.tizen.browser-f90248a066e9ea5caea36710dabfad6780ce44e7.tar.bz2
org.tizen.browser-f90248a066e9ea5caea36710dabfad6780ce44e7.zip
[Title] just return if the view is existed when the bookmark view is created
[Issue#] N_SE-8418 [Problem] Crash occured [Cause] if the bookmark button is clicked twice in very short time, view is created before former view is destroyed. [Solution] just return if the view is existed when the bookmark view is created [Team] Browser UI [Developer] sangpyo7.kim [Request] N/A Change-Id: I36a3fc9dc458fd738035bfa5bc5da40ff6aedb07
Diffstat (limited to 'src')
-rwxr-xr-xsrc/browser-data-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browser-data-manager.cpp b/src/browser-data-manager.cpp
index 9cd620c..f8e955b 100755
--- a/src/browser-data-manager.cpp
+++ b/src/browser-data-manager.cpp
@@ -125,7 +125,7 @@ Browser_Bookmark_View *Browser_Data_Manager::create_bookmark_view(void)
{
BROWSER_LOGD("[%s]", __func__);
if (m_bookmark_view)
- destroy_bookmark_view();
+ return NULL;
m_bookmark_view = new(nothrow) Browser_Bookmark_View;
if (!m_bookmark_view)