diff options
author | Max Horn | 2010-11-01 20:41:53 +0000 |
---|---|---|
committer | Max Horn | 2010-11-01 20:41:53 +0000 |
commit | d5413deab36c1d00b17dd80c49a5ed00232c7cbc (patch) | |
tree | 9f2ba22bd6dd3cc9d5a9a6a5a7fe8738b13a2aea | |
parent | 75c6e668744a092e5e2101c5a0c2482b3f4cc949 (diff) | |
download | scummvm-rg350-d5413deab36c1d00b17dd80c49a5ed00232c7cbc.tar.gz scummvm-rg350-d5413deab36c1d00b17dd80c49a5ed00232c7cbc.tar.bz2 scummvm-rg350-d5413deab36c1d00b17dd80c49a5ed00232c7cbc.zip |
BASE: Destroy TranslationManager when exiting; destroy GuiManager before ConfigManager
svn-id: r54024
-rw-r--r-- | base/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp index 8d46cf9a56..d2da09fa2f 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -440,9 +440,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { } PluginManager::instance().unloadPlugins(); PluginManager::destroy(); + GUI::GuiManager::destroy(); Common::ConfigManager::destroy(); Common::SearchManager::destroy(); - GUI::GuiManager::destroy(); + Common::TranslationManager::destroy(); return 0; } |