Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set timer.active = false before calling end_fn #4

Merged
merged 1 commit into from Aug 25, 2016

Commits on Aug 11, 2016

  1. set timer.active = false before calling end_fn

    Hi, I was thinking that maybe setting a timer as inactive before calling `end_fn` could be more useful; in my case I was calling `restart_timer` (with `start_paused` === false) inside `end_fn` but the timer was not actually restarted because `timer.active` was being re-setted to false immediately after the callback call. Thank you.
    Vito Latrofa committed Aug 11, 2016
    Copy the full SHA
    4e521c7 View commit details
    Browse the repository at this point in the history