Clear GhostshipGui and context on GameEngine::Destroy()

This commit is contained in:
Eblo
2026-01-11 14:52:37 -06:00
committed by Lywx
parent d5fca56f92
commit 65cfa06a29
+2
View File
@@ -340,6 +340,8 @@ void GameEngine::Create() {
}
void GameEngine::Destroy() {
GhostshipGui::Destroy();
Instance->context = nullptr;
AudioExit();
#ifdef __SWITCH__
Ship::Switch::Exit();