ecore: do not remove a timer that has already been removed.

This commit is contained in:
Cedric BAIL 2018-03-08 17:00:03 -08:00
parent c83bcb059b
commit edda05e4d0
1 changed files with 2 additions and 1 deletions

View File

@ -557,7 +557,8 @@ _efl_loop_timer_reschedule(Efl_Loop_Timer_Data *timer, double when)
{
if (timer->frozen) return;
if (timer->loop_data)
if (timer->loop_data &&
(EINA_INLIST_GET(timer)->next || EINA_INLIST_GET(timer)->prev))
{
if (timer->loop_data->timers && (!timer->noparent))
timer->loop_data->timers = eina_inlist_remove