[Issue#] N/A
[Problem] possible crash issue when the class is created
[Cause] UI may send a click signal 2 times in very short time.
[Solution] just return if the class is existed when the class contructor is called
[Team] Browser UI
[Developer] sangpyo7.kim
[Request] N/A
Change-Id: Icab36c4f84363d59f2a00023004e134873cf177e
Conflicts:
src/browser-data-manager.cpp
{
BROWSER_LOGD("[%s]", __func__);
if (m_bookmark_db)
{
BROWSER_LOGD("[%s]", __func__);
if (m_bookmark_db)
m_bookmark_db = new(nothrow) Browser_Bookmark_DB;
if (!m_bookmark_db)
m_bookmark_db = new(nothrow) Browser_Bookmark_DB;
if (!m_bookmark_db)
{
BROWSER_LOGD("[%s]", __func__);
if (m_add_to_bookmark_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_add_to_bookmark_view)
- destroy_add_to_bookmark_view();
m_add_to_bookmark_view = new(nothrow) Browser_Add_To_Bookmark_View(title, url,
EINA_FALSE, current_folder_id);
m_add_to_bookmark_view = new(nothrow) Browser_Add_To_Bookmark_View(title, url,
EINA_FALSE, current_folder_id);
{
BROWSER_LOGD("[%s]", __func__);
if (m_edit_bookmark_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_edit_bookmark_view)
- destroy_edit_bookmark_view();
m_edit_bookmark_view = new(nothrow) Browser_Add_To_Bookmark_View(title, url,
EINA_TRUE, current_folder_id);
m_edit_bookmark_view = new(nothrow) Browser_Add_To_Bookmark_View(title, url,
EINA_TRUE, current_folder_id);
{
BROWSER_LOGD("[%s]", __func__);
if (m_add_to_most_visited_sites_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_add_to_most_visited_sites_view)
- destroy_add_to_most_visited_sites_view();
m_add_to_most_visited_sites_view = new(nothrow) Add_To_Most_Visited_Sites_View(most_visited_sites);
if (!m_add_to_most_visited_sites_view)
m_add_to_most_visited_sites_view = new(nothrow) Add_To_Most_Visited_Sites_View(most_visited_sites);
if (!m_add_to_most_visited_sites_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_new_folder_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_new_folder_view)
- destroy_new_folder_view();
m_new_folder_view = new(nothrow) Browser_New_Folder_View;
if (!m_new_folder_view)
m_new_folder_view = new(nothrow) Browser_New_Folder_View;
if (!m_new_folder_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_select_folder_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_select_folder_view)
- destroy_select_folder_view();
m_select_folder_view = new(nothrow) Browser_Select_Folder_View(current_folder_id);
if (!m_select_folder_view)
m_select_folder_view = new(nothrow) Browser_Select_Folder_View(current_folder_id);
if (!m_select_folder_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_multi_window_view)
{
BROWSER_LOGD("[%s]", __func__);
if (m_multi_window_view)
- destroy_multi_window_view();
m_multi_window_view = new(nothrow) Browser_Multi_Window_View;
if (!m_multi_window_view) {
m_multi_window_view = new(nothrow) Browser_Multi_Window_View;
if (!m_multi_window_view) {
{
BROWSER_LOGD("[%s]", __func__);
if (m_history_layout)
{
BROWSER_LOGD("[%s]", __func__);
if (m_history_layout)
- destroy_history_layout();
m_history_layout = new(nothrow) Browser_History_Layout;
if (!m_history_layout)
m_history_layout = new(nothrow) Browser_History_Layout;
if (!m_history_layout)
{
BROWSER_LOGD("[%s]", __func__);
if (m_history_db)
{
BROWSER_LOGD("[%s]", __func__);
if (m_history_db)
m_history_db = new(nothrow) Browser_History_DB;
if (!m_history_db)
m_history_db = new(nothrow) Browser_History_DB;
if (!m_history_db)
{
BROWSER_LOGD("[%s]", __func__);
if (m_geolocation_db)
{
BROWSER_LOGD("[%s]", __func__);
if (m_geolocation_db)
- destroy_geolocation_db();
m_geolocation_db = new(nothrow) Browser_Geolocation_DB;
if (!m_geolocation_db)
m_geolocation_db = new(nothrow) Browser_Geolocation_DB;
if (!m_geolocation_db)