Skip to content

Commit 60980fb

Browse files
authored
Fixes crash on exit. (#134)
1 parent 6d71c43 commit 60980fb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/port/Engine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ void GameEngine::Create() {
412412

413413
void GameEngine::Destroy() {
414414
GhostshipGui::Destroy();
415+
gsFast3dWindow = nullptr;
415416
Instance->context = nullptr;
416417
AudioExit();
417418
#ifdef __SWITCH__

0 commit comments

Comments
 (0)