Merge pull request #558 from Bigpet/modunload

unload modules upon stopping
This commit is contained in:
B1ackDaemon 2014-07-13 01:08:25 +03:00
commit f240690ff5
2 changed files with 13 additions and 3 deletions

View file

@ -416,8 +416,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();