You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When recording_timer.deactivate() is called on this timer before the interval runs out, the callback is still called.
I traced this to the self.active property not being checked in the _run_once method. It is properly checked in the _run_in_loop method.
I would like to be able to deactivate a timer, ie avoid the callback happening.
Also, I think it should be possible to cancel the (repeating) timer completely instead of just deactivating its callback.
The text was updated successfully, but these errors were encountered:
Description
When
recording_timer.deactivate()
is called on this timer before the interval runs out, the callback is still called.I traced this to the
self.active
property not being checked in the_run_once
method. It is properly checked in the_run_in_loop
method.I would like to be able to deactivate a timer, ie avoid the callback happening.
Also, I think it should be possible to cancel the (repeating) timer completely instead of just deactivating its callback.
The text was updated successfully, but these errors were encountered: