summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2010-01-08 14:08:07 +0000
committerfcolin2010-01-08 14:08:07 +0000
commit934c2bbb58ea20c8fc2a70f6c861ac2a32017658 (patch)
tree9bff8a8d129bcff355fc5dca012d96b268717f27
parentec85856f7638cd518596afacd07edd43485093f9 (diff)
downloadivy-c-934c2bbb58ea20c8fc2a70f6c861ac2a32017658.zip
ivy-c-934c2bbb58ea20c8fc2a70f6c861ac2a32017658.tar.gz
ivy-c-934c2bbb58ea20c8fc2a70f6c861ac2a32017658.tar.bz2
ivy-c-934c2bbb58ea20c8fc2a70f6c861ac2a32017658.tar.xz
correction bug appel CB apres TimerRemove
-rw-r--r--src/timer.c2
1 files changed, 1 insertions, 1 deletions
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;