Postpone base control initialization 15/202615/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 2 Apr 2019 00:56:26 +0000 (09:56 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 2 Apr 2019 00:57:01 +0000 (09:57 +0900)
To improve launching performance, calling the appcore_base_control_init()
function is removed in the appcore_base_init() function.
The function is called when calling the appcore_base_control_add()
function.

Change-Id: Iafa109c012496c5fc978eacd0719f3d785610ba7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/base/appcore_base.c

index 4bfcabd..0550161 100644 (file)
@@ -1086,8 +1086,6 @@ EXPORT_API int appcore_base_init(appcore_base_ops ops, int argc, char **argv, vo
        if (__context.ops.set_i18n)
                __context.ops.set_i18n(__context.data);
 
-       appcore_base_control_init();
-
        if (__context.ops.create) {
                traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "APPCORE:CREATE");
                r = __context.ops.create(__context.data);