From 934c2bbb58ea20c8fc2a70f6c861ac2a32017658 Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 8 Jan 2010 14:08:07 +0000 Subject: correction bug appel CB apres TimerRemove --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer.c b/src/timer.c index 2205634..7f9394a 100644 --- a/src/timer.c +++ b/src/timer.c @@ -159,7 +159,7 @@ void TimerScan() /* recherche des timers echu dans la liste */ IVY_LIST_EACH_SAFE( timers , timer, next ) { - if ( timer->when <= stamp ) + if ( timer->when <= stamp && (!timer->mark2Remove) ) { timer_echu++; delta = stamp - timer->when; -- cgit v1.1