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

Prevent extra errors when canvascontext creation fails #635

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

almarklein
Copy link
Member

When the creation of the canvas context fails, this results in extra errors, because the context does not have the _surface_id attribute. This fixes that.

This was referenced Nov 4, 2024
@Korijn Korijn enabled auto-merge (squash) November 4, 2024 12:20
@Korijn Korijn merged commit 25a4d9c into main Nov 4, 2024
21 checks passed
@Korijn Korijn deleted the surface-id branch November 4, 2024 12:22
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