Skip to content

Conversation

@Lpsd
Copy link
Member

@Lpsd Lpsd commented Nov 9, 2025

Raised in Discord https://canary.discord.com/channels/801330706252038164/801411628600000522/1436840277175308299

CEGUI wasn't being properly cleaned up when GUI recreated (on locale and skin change).
We also have no reason to store 'old locales' in the map in CLocalization, so these are cleared up automatically

@Dutchman101 Dutchman101 self-requested a review November 9, 2025 03:58
@Dutchman101 Dutchman101 self-assigned this Nov 9, 2025
@Lpsd Lpsd requested a review from Dutchman101 November 9, 2025 06:12
@Dutchman101
Copy link
Member

All code reviews were addressed, and we worked together on some remaining minor issues.
Heap profiling confirmed the leak is fixed, nice

@Dutchman101 Dutchman101 merged commit 03e039a into multitheftauto:master Nov 9, 2025
6 of 7 checks passed
MTABot pushed a commit that referenced this pull request Nov 9, 2025
03e039a Resolve CLocalization / CGUI memory leaks (#4527)
Dutchman101 pushed a commit that referenced this pull request Nov 9, 2025
* Resolve CLocalization / CGUI memory leaks
MTABot pushed a commit that referenced this pull request Nov 9, 2025
0fbaef3 Resolve CLocalization / CGUI memory leaks (#4527)
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