We have to notice that user could build up a lot of objects before main
loop begin,
Now they have to put very ugly conditions for this change.

Though we think previous code is a bug,
Users won't agree, they might think this is due to just unstable efl
changes.

some_event_cb()
 {
     ...
     if (main_loop_not_begin_yet) direct_exit = true;
     else elm_exit();
 }

main_func()
 {
    direct_exit = false;
    main_loop_not_begin_yet = true;

     ...

     if (!direct_exit) elm_run();
     main_loop_not_begin_yet = false;

     ...
 }

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to