Permalink
Browse files

Bug fix: Timer added by Ape.setInterval() was protected after first e…

…xecution
  • Loading branch information...
1 parent 314f007 commit c551a2ec7f5d22f6e1a7b7e6bcf45d9ed2c4e768 @paraboul paraboul committed May 25, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/ticks.c
View
@@ -44,6 +44,7 @@ inline void process_tick(acetables *g_ape)
g_ape->timers.ntimers--;
new_timer->identifier = timers->identifier;
new_timer->times = timers->times;
+ new_timer->protect = timers->protect;
}
free(timers);

0 comments on commit c551a2e

Please sign in to comment.