forked from enlightenment/efl
ecore_idle_exiter: return NULL in eo_finalize() when Ecore_Task_Cb is not set
Summary: - ecore_idle_exiter_add should return NULL, when Ecore_Task_Cb is not set. Reviewers: jpeg, woohyun, jaehwan, Jaehyun Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3425
This commit is contained in:
parent
25ebd91555
commit
1b6a400a29
|
@ -96,7 +96,7 @@ _ecore_idle_exiter_del(Ecore_Idle_Exiter *obj)
|
|||
EOLIAN static Eo *
|
||||
_ecore_idle_exiter_eo_base_finalize(Eo *obj, Ecore_Idle_Exiter_Data *idle_exiter)
|
||||
{
|
||||
if (!idle_exiter)
|
||||
if (!idle_exiter->func)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue