Skip to content

GUI: Check for null TheWindowManager before creating layouts - #50

Merged
x64-dev merged 2 commits into
mainfrom
seer/gui-window-manager-check
Oct 10, 2025
Merged

GUI: Check for null TheWindowManager before creating layouts#50
x64-dev merged 2 commits into
mainfrom
seer/gui-window-manager-check

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Oct 5, 2025

Copy link
Copy Markdown

Fixes CLIENT-DH. The issue was that: GUI update loop executes after TheWindowManager is destroyed, causing null pointer dereference on virtual function call.

The code now checks if TheWindowManager is not NULL before attempting to create the m_saveLoadMenuLayout and m_popupReplayLayout. This prevents potential crashes if the window manager is not initialized.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 1769168

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

@x64-dev
x64-dev marked this pull request as ready for review October 10, 2025 21:19
@x64-dev
x64-dev merged commit 0b28b33 into main Oct 10, 2025
2 checks passed
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.

1 participant