Skip to content

Fix unbounded RefreshOpenState recursion when player controls are already disabled - #110

Open
Drheisen1 wants to merge 3 commits into
MissCorruption:mainfrom
Drheisen1:main
Open

Fix unbounded RefreshOpenState recursion when player controls are already disabled#110
Drheisen1 wants to merge 3 commits into
MissCorruption:mainfrom
Drheisen1:main

Conversation

@Drheisen1

@Drheisen1 Drheisen1 commented Jun 18, 2026

Copy link
Copy Markdown

Search DRHEISEN1
@AtomCrafty
AtomCrafty force-pushed the main branch 2 times, most recently from 882a0bb to 9c14198 Compare June 18, 2026 18:46
@AtomCrafty

Copy link
Copy Markdown
Collaborator

Thanks for the submission!

I believe this particular stack overflow should be fixed by 18e7759, which I hadn't gotten around to pushing yet.
Nonetheless it seems like a good idea to guard RefreshOpenState against any accidental reentrance to avoid similar issues from popping up in the future.

@AtomCrafty AtomCrafty self-assigned this Jun 18, 2026

#pragma warning(pop)
}
} No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please keep the newline at the end

Comment thread src/MenuVisibilityManager.cpp Outdated
@Drheisen1

Drheisen1 commented Jun 18, 2026

Copy link
Copy Markdown
Author

sorry, it's my first time doing pull requests :3

@AtomCrafty

AtomCrafty commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

All good, thanks for taking the time to contribute. If possible, amend your commit and force push the changes. I like to keep a clean history. Let me know if you need help doing that. Alternatively I could do it myself, but then your name wouldn't show in the commit history.

Drheisen1 and others added 2 commits June 19, 2026 00:32
Co-authored-by: AtomCrafty <atomcrafty@frucost.net>
@Drheisen1

Drheisen1 commented Jun 18, 2026

Copy link
Copy Markdown
Author

sorry, im kinda lost here :p , can you do it? I don't mind the naming

@AtomCrafty

Copy link
Copy Markdown
Collaborator

Sure thing, I'll take care of it later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants