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

[MenuBar] Use NativeMenu RIDs instead of indices to track items. #89875

Merged
1 commit merged into from
Mar 25, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Mar 25, 2024

With the addition of NativeMenu, using RIDs to keep track of items should be more reliable than using indices (which can be externally changed by calling NativeMenu methods directly).

Should fix #89066 (I can't reproduce the crash, but it's most likely related).

@akien-mga akien-mga closed this pull request by merging all changes into godotengine:master in 0acfb38 Mar 25, 2024
@akien-mga
Copy link
Member

Thanks!

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.

MenuBar Global Menu queue_free() on PopupMenu causes crash during runtime
2 participants