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

dont lock/unlock only in debug mode #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Uriopass
Copy link

@Uriopass Uriopass commented May 20, 2024

Avoid crashes in release mode. Locking is necessary before accessing the pixel buffer on the CPU according to the doc.
Fixed the zero address on my M1.

Fixes #9

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.

Segmentation fault in release build on MacOS M1 - the slice returned by data_u8() has a null pointer address
1 participant