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:
parent
ad8a077f23
commit
a5d5965b68
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue