cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=edda05e4d0779f7c16d0995bab082cb7ad793e1b

commit edda05e4d0779f7c16d0995bab082cb7ad793e1b
Author: Cedric BAIL <[email protected]>
Date:   Thu Mar 8 17:00:03 2018 -0800

    ecore: do not remove a timer that has already been removed.
---
 src/lib/ecore/ecore_timer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore/ecore_timer.c b/src/lib/ecore/ecore_timer.c
index 71f63ede85..b1b9a99052 100644
--- a/src/lib/ecore/ecore_timer.c
+++ b/src/lib/ecore/ecore_timer.c
@@ -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

-- 


Reply via email to