ecore_evas: protect against application holding a reference on the canvas while destroying the ecore_evas.

This commit is contained in:
Cedric BAIL 2017-07-13 15:34:37 -07:00
parent 77adf813d5
commit 7d9f1dbfd3
1 changed files with 2 additions and 0 deletions

View File

@ -3296,6 +3296,8 @@ _ecore_evas_free(Ecore_Evas *ee)
ee->engine.func->fn_animator_unregister(ee);
if (_general_tick == ee) _ecore_evas_tick_source_find();
}
efl_event_callback_array_del(ee->evas, animator_watch(), ee);
if (ee->anim)
ecore_animator_del(ee->anim);
ee->anim = NULL;