ecore: avoid calls to provider_find on invalidated objects in timer class

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
This commit is contained in:
Cedric Bail 2018-03-08 18:18:38 -05:00 committed by Cedric BAIL
parent ad8a077f23
commit a5d5965b68
1 changed files with 2 additions and 0 deletions

View File

@ -467,6 +467,8 @@ _efl_loop_timer_efl_object_parent_set(Eo *obj, Efl_Loop_Timer_Data *pd, Efl_Obje
_efl_loop_timer_util_loop_clear(pd);
if (efl_invalidated_get(obj)) return;
pd->loop = efl_provider_find(obj, EFL_LOOP_CLASS);
if (pd->loop)
pd->loop_data = efl_data_scope_get(pd->loop, EFL_LOOP_CLASS);