mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
BASE: Destroy singletons on exit.
This commit is contained in:
@@ -55,6 +55,9 @@
|
||||
#include "audio/mididrv.h"
|
||||
#include "audio/musicplugin.h" /* for music manager */
|
||||
|
||||
#include "graphics/cursorman.h"
|
||||
#include "graphics/fontman.h"
|
||||
|
||||
#include "backends/keymapper/keymapper.h"
|
||||
|
||||
#if defined(_WIN32_WCE)
|
||||
@@ -493,10 +496,15 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
||||
PluginManager::destroy();
|
||||
GUI::GuiManager::destroy();
|
||||
Common::ConfigManager::destroy();
|
||||
Common::DebugManager::destroy();
|
||||
Common::EventRecorder::destroy();
|
||||
Common::SearchManager::destroy();
|
||||
#ifdef USE_TRANSLATION
|
||||
Common::TranslationManager::destroy();
|
||||
#endif
|
||||
MusicManager::destroy();
|
||||
Graphics::CursorManager::destroy();
|
||||
Graphics::FontManager::destroy();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user