From 7d9f1dbfd3a2b74f0d90b0139eb4836324f35765 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 13 Jul 2017 15:34:37 -0700 Subject: [PATCH] ecore_evas: protect against application holding a reference on the canvas while destroying the ecore_evas. --- src/lib/ecore_evas/ecore_evas.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 43560ba..a9657ad 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -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; -- 2.7.4