timer: Fix resetting the timer on stop
When the timer is paused and then stopped, the pause
state should be FALSE
, otherwise the timer will not reset on the next start.
Steps to reproduce:
- Start the timer.
- Pause the timer.
- Stop the timer.
- Start the timer again.
- See that the timer is not started from the beginning, the elapsed time was not zeroed as expected.