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

pbio/light/animation: Fix lockup on restarting animation during animation frame. #268

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

laurensvalk
Copy link
Member

Fixes pybricks/support#1295 for both the hub light and the light matrix

@coveralls
Copy link

coveralls commented Oct 3, 2024

Coverage Status

coverage: 56.826% (+0.007%) from 56.819%
when pulling 4ff6e7b on issue-1295
into a047055 on master.

If it was restarted just as a new frame was being loaded,
the animation would get stuck handling timer events forever.

Fixes pybricks/support#1295
@laurensvalk laurensvalk merged commit 4ff6e7b into master Oct 4, 2024
38 checks passed
@dlech dlech deleted the issue-1295 branch October 4, 2024 13:59
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.

[Bug] Repeated calling of hub.display.animate() would cause Spike Hub to hang.
3 participants