Initialize and finalize ecore wayland
[platform/core/appfw/app-core.git] / src / ui_base / appcore_ui_base.c
index 4aaa141..7e88080 100644 (file)
@@ -795,6 +795,8 @@ EXPORT_API int appcore_ui_base_init(appcore_ui_base_ops ops, int argc, char **ar
        bundle *b;
        char appid[PATH_MAX] = {0, };
 
+       ecore_wl_init(NULL);
+
        appcore_ui_plugin_init(&ops, argc, argv, &hint);
        aul_app_get_appid_bypid(getpid(), appid, sizeof(appid));
        __context.ops = ops;
@@ -830,6 +832,7 @@ EXPORT_API void appcore_ui_base_fini(void)
 
        appcore_ui_plugin_fini();
        appcore_base_fini();
+       ecore_wl_shutdown();
 }
 
 EXPORT_API void appcore_ui_base_pause(void)