{ EFL_LOOP_EVENT_ARGUMENTS, efl_main }, \
{ EFL_LOOP_EVENT_PAUSE, efl_pause }, \
{ EFL_LOOP_EVENT_RESUME, efl_resume }, \
- { EFL_EVENT_DEL, efl_terminate }); \
+ { EFL_LOOP_EVENT_TERMINATE, efl_terminate }); \
int main(int argc, char **argv) \
{ \
int ret__; \
_elm_init_count--;
if (_elm_init_count > 0) return _elm_init_count;
+ efl_event_callback_call(ecore_main_loop_get(), EFL_LOOP_EVENT_TERMINATE, NULL);
+
ecore_event_handler_del(system_handlers[0]);
ecore_event_handler_del(system_handlers[1]);