Added code to check whether wayland get ready befor running browser 67/147067/2
authorcookie <cookie@samsung.com>
Fri, 1 Sep 2017 01:22:56 +0000 (01:22 +0000)
committerjaekuk lee <juku1999@samsung.com>
Mon, 4 Sep 2017 05:10:46 +0000 (05:10 +0000)
Change-Id: I5f67524d5c82be5d7ac28edec0a2a6874e83ba55
Signed-off-by: cookie <cookie@samsung.com>
core/main.cpp

index b8ba51c..da76884 100755 (executable)
@@ -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)