keep flush sequence consistent.

SVN revision: 53792
This commit is contained in:
Carsten Haitzler 2010-10-23 01:00:46 +00:00
parent 73cca00118
commit beb56366a4
1 changed files with 4 additions and 4 deletions

View File

@ -240,10 +240,10 @@ _elm_win_obj_callback_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void
ecore_event_handler_del(win->client_message_handler);
#endif
// FIXME: Why are we flushing edje on every window destroy ??
// evas_image_cache_flush(win->evas);
// evas_font_cache_flush(win->evas);
// edje_file_cache_flush();
// edje_collection_cache_flush();
// evas_image_cache_flush(win->evas);
// evas_font_cache_flush(win->evas);
// FIXME: we are in the del handler for the object and delete the canvas
// that lives under it from the handler... nasty. deferring doesn't help either
ecore_job_add(_deferred_ecore_evas_free, win->ee);
@ -257,10 +257,10 @@ _elm_win_obj_callback_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void
if ((!_elm_win_list) &&
(elm_policy_get(ELM_POLICY_QUIT) == ELM_POLICY_QUIT_LAST_WINDOW_CLOSED))
{
evas_image_cache_flush(e);
evas_font_cache_flush(e);
edje_file_cache_flush();
edje_collection_cache_flush();
evas_image_cache_flush(e);
evas_font_cache_flush(e);
elm_exit();
}
}