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 panic on invalid string in debug_message_callback #273

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

Rodrigodd
Copy link
Contributor

I stumble in a case where the debug_message_callback where panic'ing on non utf8 strings on android, and because I was using panic abort, it was crashing the library.

I didn't investigate why the debug callback was receiving invalid strings. I stumble on it while porting a WGPU application to android. It is happening together with a FramebufferTexture2d::<attachment> is not valid error, that logged many times per frame, which I still need to investigate, not sure if it is related.

Copy link
Owner

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@grovesNL grovesNL merged commit e33eebf into grovesNL:main Jan 3, 2024
6 checks passed
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