e util - set idler to null first in case some del func hook adds it back

devs/bu5hm4n/pointer-fix
Carsten Haitzler 1 year ago
parent 8095472f5d
commit 59753eab23
  1. 2
      src/bin/e_utils.c

@ -730,6 +730,7 @@ static Ecore_Idle_Enterer *_delay_del_idler = NULL;
static Eina_Bool
_e_util_cb_delayed_del(void *data EINA_UNUSED)
{
_delay_del_idler = NULL;
while (_delay_del_array)
{
Eina_Array *arr = _delay_del_array;
@ -744,7 +745,6 @@ _e_util_cb_delayed_del(void *data EINA_UNUSED)
eina_iterator_free(itr);
eina_array_free(arr);
}
_delay_del_idler = NULL;
return ECORE_CALLBACK_CANCEL;
}

Loading…
Cancel
Save