Skip to content

GameSpy: Fix race condition in RefreshGameList - #63

Merged
x64-dev merged 1 commit into
mainfrom
seer/fix-gamespy-race
Oct 10, 2025
Merged

GameSpy: Fix race condition in RefreshGameList#63
x64-dev merged 1 commit into
mainfrom
seer/fix-gamespy-race

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-EB. The issue was that: Synchronous scroll position restoration attempts to write to invalid listbox data after asynchronous reset, causing access violation.

  • Moved clearBuddyGames(), GadgetListBoxSetSelected(), and GadgetListBoxSetTopVisibleEntry() calls into the SearchForLobbies callback.
  • This fixes a race condition where these operations were executed on the empty/reset listbox before the async callback populated it, causing crashes.

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

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:31
@x64-dev
x64-dev merged commit 117cdc0 into main Oct 10, 2025
2 of 5 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