summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/win32/Ticker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/win32/Ticker.c b/rts/win32/Ticker.c
index 7bc5ed55e3..27c9070a50 100644
--- a/rts/win32/Ticker.c
+++ b/rts/win32/Ticker.c
@@ -73,6 +73,7 @@ stopTicker(void)
void
exitTicker (bool wait)
{
+ stopTicker();
if (timer_queue != NULL) {
DeleteTimerQueueEx(timer_queue, wait ? INVALID_HANDLE_VALUE : NULL);
timer_queue = NULL;