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

Backends: Metal: Fixed null dereference in command buffer completion handler #5365

Closed
wants to merge 1 commit into from

Conversation

warrenm
Copy link
Contributor

@warrenm warrenm commented May 31, 2022

Since command buffers can still be in-flight when the context has been freed, we need to verify that we still have valid backend data when inside a command buffer completed handler.

@ocornut
Copy link
Owner

ocornut commented May 31, 2022

Merged as 7354009, thank you for the amazingly quick reaction!

@ocornut ocornut closed this May 31, 2022
@warrenm warrenm deleted the mtl-cmd-buffer-null-deref branch May 31, 2022 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants