From f90248a066e9ea5caea36710dabfad6780ce44e7 Mon Sep 17 00:00:00 2001 From: Sangpyo Kim Date: Wed, 5 Sep 2012 16:13:41 +0900 Subject: [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 --- src/browser-data-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3