Skip to content

Commit

Permalink
xrGame/GamePersistent.cpp: destroy UICore a bit later (fixes #1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jan 18, 2025
1 parent 3399954 commit b2b444e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xrGame/GamePersistent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,13 @@ void CGamePersistent::OnAppEnd()

xr_delete(m_pLoadingScreen);
xr_delete(m_pMainMenu);
xr_delete(GEnv.UI);

inherited::OnAppEnd();

clean_game_globals();

xr_delete(GEnv.UI);

GMLib.Unload();

#ifdef XR_PLATFORM_WINDOWS
Expand Down

0 comments on commit b2b444e

Please sign in to comment.