BASE: Destroy singletons on exit.
This commit is contained in:
parent
b01d712a63
commit
6bff611605
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue