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 crash when using OpenXR extension wrappers from GDExtension #88689

Merged

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Feb 22, 2024

Fixes #88613

This is an alternative to PR #88688 which tries to fix the pattern generally, whereas this PR is just a targeted fix for issue #88613

Copy link
Contributor

@m4gr3d m4gr3d left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

Looks like it should also fix GodotVR/godot_openxr_vendors#67?

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

As written in #88688, I suggest we merge this safe ad hoc fix for now to fix the bug, and keep discussing in the core PR to see if we want to go with that approach in the long run.

@akien-mga akien-mga merged commit 60b927b into godotengine:master Feb 23, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@dsnopek
Copy link
Contributor Author

dsnopek commented Feb 23, 2024

Looks like it should also fix GodotVR/godot_openxr_vendors#67?

Yes, it fixed this issue in my testing!

@dsnopek dsnopek added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Feb 23, 2024
@akien-mga
Copy link
Member

Cherry-picked for 4.2.2.

@akien-mga akien-mga removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Mar 9, 2024
@dsnopek dsnopek deleted the openxr-extension-wrapper-crash branch July 22, 2024 15:31
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.

Crash on exit when using OpenXRExtensionWrapperExtension
3 participants