Skip to content

fix: Fix stack overflow in updateMapHoverPreview due to double wrap on menu re entry#518

Merged
x64-dev merged 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix/quickmatch-map-hover-overflow
Jun 18, 2026
Merged

fix: Fix stack overflow in updateMapHoverPreview due to double wrap on menu re entry#518
x64-dev merged 1 commit into
GeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix/quickmatch-map-hover-overflow

Conversation

@MrS-ibra

@MrS-ibra MrS-ibra commented Jun 17, 2026

Copy link
Copy Markdown
Member

Fixes a crash where re entering the quick match menu caused updateMapHoverPreview to be saved as its own draw func callback, leading to infinite recursion and a stack overflow.

The fix restores the original draw func and nulls all related statics in Shutdown before clearing listboxMapSelect.

@x64-dev x64-dev merged commit 42e7b37 into GeneralsOnlineDevelopmentTeam:main Jun 18, 2026
5 of 6 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.

2 participants