unload modules upon stopping I guess we won't find out what's wrong if we don't let it fail

This commit is contained in:
Peter Tissen 2014-07-12 13:52:37 +02:00
parent 14050c7302
commit f75a3c8f60
2 changed files with 13 additions and 3 deletions

View file

@ -415,8 +415,7 @@ void Emulator::Stop()
GetKeyboardManager().Close();
GetMouseManager().Close();
GetCallbackManager().Clear();
// TODO: not all modules unload cleanly, so we're not unloading them for now
//GetModuleManager().UnloadModules();
GetModuleManager().UnloadModules();
CurGameInfo.Reset();
Memory.Close();