eocre timechanges - set obj to null before deletion on stop
stops double-deletion due to callback nesting
This commit is contained in:
parent
deca91bfe9
commit
df61af9efa
|
@ -81,8 +81,9 @@ void
|
|||
_ecore_main_timechanges_stop(Eo *obj EINA_UNUSED)
|
||||
{
|
||||
#ifdef HAVE_SYS_TIMERFD_H
|
||||
if (!realtime_obj) return;
|
||||
efl_del(realtime_obj);
|
||||
Eo *o = realtime_obj;
|
||||
if (!o) return;
|
||||
realtime_obj = NULL;
|
||||
efl_del(o);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue