Timer.fire error (bug?)

BlitzMax Forums/BlitzMax Programming/Timer.fire error (bug?)

Maybe this helps on win32: Change "mod/brl.mod/timer.mod/timer.win32.c" on line 38 from
return timeSetEvent( 1000.0/hertz,0,timerProc,(DWORD)timer,TIME_PERIODIC );
to
return timeSetEvent( 1000.0/hertz,0,timerProc,(DWORD)timer,TIME_PERIODIC|TIME_KILL_SYNCHRONOUS );