Skip to content

Fix crash when using OpenXR extension wrappers from GDExtension#88689

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
dsnopek:openxr-extension-wrapper-crash
Feb 23, 2024
Merged

Fix crash when using OpenXR extension wrappers from GDExtension#88689
akien-mga merged 1 commit intogodotengine:masterfrom
dsnopek:openxr-extension-wrapper-crash

Conversation

@dsnopek
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@akien-mga
Copy link
Copy Markdown
Member

Thanks!

@dsnopek
Copy link
Copy Markdown
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
Copy Markdown
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