aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu')
-rw-r--r--src/menu/application.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp
index d36e10b3..01555afb 100644
--- a/src/menu/application.cpp
+++ b/src/menu/application.cpp
@@ -51,6 +51,9 @@ namespace usdx
}
SDL_Quit();
+
+ // reset instance to be able to recreate the singleton
+ instance = NULL;
}
Application* Application::get_instance(void)