From ef9e37a031c35879e20d6f09f348ba9c92403896 Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Fri, 26 May 2023 16:07:49 +0900 Subject: [PATCH] ecore_timer: set timer with current time when main loop is slow. Change-Id: I8eb1777b381489b903a5a774857a4dc7cd36e0f6 --- src/lib/ecore/ecore_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_timer.c b/src/lib/ecore/ecore_timer.c index a9f70f0..8740b1a 100644 --- a/src/lib/ecore/ecore_timer.c +++ b/src/lib/ecore/ecore_timer.c @@ -610,7 +610,7 @@ _efl_loop_timer_reschedule(Efl_Loop_Timer_Data *timer, double when) * is stopped in a debugger or IO and other handling gets * really slow within the main loop. */ - if ((timer->at + timer->in) < (when - 15.0)) + if ((timer->at + timer->in) < when) _efl_loop_timer_set(timer, when + timer->in, timer->in); else _efl_loop_timer_set(timer, timer->at + timer->in, timer->in); -- 2.7.4