From: jaekuk, lee Date: Mon, 17 Sep 2018 06:45:55 +0000 (+0900) Subject: Fixed crash issue occurred when terminating App using HOME Key X-Git-Tag: submit/tizen/20180917.102309^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F189345%2F2;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Fixed crash issue occurred when terminating App using HOME Key To resolve the issue that ecore_idler_add() isn't called, Add ecore timer checking plugin_session_count. Change-Id: I6e95f205eb79bf3eac8472e5d77af44788d0ed09 Signed-off-by: jaekuk, lee --- diff --git a/runtime/browser/web_application.cc b/runtime/browser/web_application.cc index 9039ca724..c74d4be47 100755 --- a/runtime/browser/web_application.cc +++ b/runtime/browser/web_application.cc @@ -801,12 +801,6 @@ void WebApplication::RemoveWebViewFromStack(WebView* view) { auto extension_server = XWalkExtensionServer::GetInstance(); LOGGER(DEBUG) << "Shutdown extension server"; extension_server->Shutdown(); -#if !defined(TIZEN_PRODUCT_TV) - // Hide the window object for preventing the white screen - // during termination of web application. - evas_object_hide(window_->evas_object()); - Exit(); -#endif } else if (current != view_stack_.front()) { view_stack_.front()->SetVisibility(true); window_->SetContent(view_stack_.front()->evas_object()); @@ -844,7 +838,6 @@ void WebApplication::OnClosedWebView(WebView* view) { view->ReplyToJavascriptDialog(); RemoveWebViewFromStack(view); -#if defined(TIZEN_PRODUCT_TV) LOGGER(DEBUG) << "plugin_session_count : " << XWalkExtensionRendererController::plugin_session_count; @@ -857,7 +850,6 @@ void WebApplication::OnClosedWebView(WebView* view) { CheckPluginSession, &session_counter); if (!session_counter.timer) LOGGER(ERROR) << "It's failed to create session_counter timer"; -#endif } void WebApplication::OnReceivedWrtMessage(WebView* view,