From: cookie Date: Fri, 1 Sep 2017 01:22:56 +0000 (+0000) Subject: Added code to check whether wayland get ready befor running browser X-Git-Tag: submit/tizen/20180319.053649~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ea4faa4f6825b10f199033eb6c3fc120adb58c2;p=profile%2Fmobile%2Fapps%2Fweb%2Fbrowser.git Added code to check whether wayland get ready befor running browser Change-Id: I5f67524d5c82be5d7ac28edec0a2a6874e83ba55 Signed-off-by: cookie --- diff --git a/core/main.cpp b/core/main.cpp index b8ba51c..da76884 100755 --- a/core/main.cpp +++ b/core/main.cpp @@ -248,7 +248,11 @@ static void app_language_changed(app_event_info*, void* app_data) int main(int argc, char* argv[])try { BEGIN() - ewk_init(); + if (!ewk_init()) { + BROWSER_LOGE(" could not ewk_init()"); + return false; + } + set_arguments(argv); //#if !defined(NDEBUG)