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

Fix a possible timer callback call happening after Timer.stop() #262

Merged
merged 1 commit into from
Mar 15, 2021

Conversation

s-ludwig
Copy link
Member

Since the m_running logic was executed in a task instead of synchronously, it could happen that it got executed right after a call to Timer.stop(), erroneously starting up another callback task.

Since the m_running logic was executed in a task instead of synchronously, it could happen that it got executed right after a call to Timer.stop(), erroneously starting up another callback task.
@Geod24 Geod24 merged commit 425ee9d into master Mar 15, 2021
@Geod24 Geod24 deleted the fix_deferred_timer_fire branch March 15, 2021 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants