elm_main: call _elm_config_shutdown() after loop_iterate()

In _elm_config_shutdown(), _elm_config is freed.
So, if some ecore events call efl_ui_xxx API which refers _elm_config,
there can be crashes.

@fix
This commit is contained in:
WooHyun Jung 2018-05-24 15:30:29 +09:00
parent 9dce56687b
commit ea1760380e
1 changed files with 1 additions and 1 deletions

View File

@ -818,8 +818,8 @@ elm_quicklaunch_sub_shutdown(void)
elm_color_class_shutdown();
}
_elm_config_shutdown();
ecore_main_loop_iterate();
_elm_config_shutdown();
return _elm_sub_init_count;
}