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 SubViewport/AudioStreamPlayer2D crash #91123

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

aaronp64
Copy link
Contributor

@aaronp64 aaronp64 commented Apr 24, 2024

Updated Viewport destructor to remove itself from World2D, to avoid World2D keeping invalid pointers.

Fixes #89212

Fixes #91796

@akien-mga
Copy link
Member

Would be good to rebase to get a new CI run. The previous one failed, but the logs have expired so we don't know why.

Updated Viewport destructor to remove itself from World2D, to avoid World2D keeping invalid pointers.
@aaronp64 aaronp64 force-pushed the multi_viewport_crash branch from f66a50d to 7a9acd5 Compare September 3, 2024 12:28
@aaronp64
Copy link
Contributor Author

aaronp64 commented Sep 3, 2024

Rebased, looks like checks are ok now. I think the original failure might have been due to separate build issues that day, possibly related to #91120

@akien-mga akien-mga added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 3, 2024
@akien-mga akien-mga merged commit a8337da into godotengine:master Sep 3, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@aaronp64 aaronp64 deleted the multi_viewport_crash branch September 3, 2024 14:50
@akien-mga
Copy link
Member

Cherry-picked for 4.3.1.

@akien-mga akien-mga removed the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants