Skip to content

GUI: Prevent infinite recursion in WOLGameSetupMenuInit during disconnects - #128

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-wolgamesetupmenu-recursion
Open

GUI: Prevent infinite recursion in WOLGameSetupMenuInit during disconnects#128
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-wolgamesetupmenu-recursion

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-TN. The issue was that: Infinite mutual recursion between WOLGameSetupMenuInit and WOLGameSetupMenuShutdown due to unresolved game state causes repeated string formatting calls, exhausting the stack.

  • Added a flag isHandlingDisconnect to prevent infinite recursion when WOLGameSetupMenuInit is called during a disconnect.
  • Set the flag before popping the shell and reset it in WOLGameSetupMenuShutdown.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 2663422

Not quite right? Click here to continue debugging with Seer.

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.

0 participants