mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- fixed: DeinitMenus must explicitly destroy the active menu before taking down the descriptors.
Otherwise the menu will only be collected by the garbage collector and no longer find all relevant data.
This commit is contained in:
parent
ba09f553d4
commit
c6f290dcf8
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ DEFINE_ACTION_FUNCTION(FOptionValues, GetText)
|
|||
|
||||
void DeinitMenus()
|
||||
{
|
||||
if (CurrentMenu) CurrentMenu->Destroy();
|
||||
{
|
||||
FOptionMap::Iterator it(OptionValues);
|
||||
|
||||
|
|
Loading…
Reference in a new issue