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 Window.hide() crash when force_native changes #90637

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

aaronp64
Copy link
Contributor

Moved force_native = p_force_native assignment to after is_visible() check, to prevent value from changing after window is shown.

Fixes #90609

Moved force_native = p_force_native assignment to after is_visible() check, to prevent value from changing after window is shown.

Fixes godotengine#90609
@aaronp64 aaronp64 requested a review from a team as a code owner April 13, 2024 18:07
@YeldhamDev YeldhamDev added this to the 4.3 milestone Apr 13, 2024
@akien-mga akien-mga requested a review from bruvzg April 13, 2024 20:44
@akien-mga akien-mga changed the title Fix Window.hide() crash when force_native changed Fix Window.hide() crash when force_native changes Apr 14, 2024
@akien-mga akien-mga merged commit 88033ea into godotengine:master Apr 15, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@aaronp64 aaronp64 deleted the force_native_crash branch April 25, 2024 14:54
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.

Executing AcceptDialog.hide function crashes Godot
4 participants