timer on windows bug fixed.
Merge pull request #2522 from dycoon/debug_timer

timer on windows bug fixed.