mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 12:50:51 +00:00
BASE: Destroy singletons on exit.
This commit is contained in:
parent
b01d712a63
commit
6bff611605
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user