aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timer.cpp b/common/timer.cpp
index 88ac735f7e..1655a2770c 100644
--- a/common/timer.cpp
+++ b/common/timer.cpp
@@ -129,7 +129,7 @@ void Timer::removeTimerProc(TimerProc procedure) {
if (_timerSlots[l].procedure == procedure) {
_timerSlots[l].procedure = 0;
_timerSlots[l].interval = 0;
- _timerSlots[l].counter = 0;
+ _timerSlots[l].counter = 1; // Work around a problem when a timer proc removes itself
_timerSlots[l].refCon = 0;
}
}