change order of shutting down core vs tools so tools have a chance to unhook from the core before the core is disposed
This commit is contained in:
parent
f3626b9605
commit
fb7ed39944
|
@ -234,9 +234,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (GlobalWin.Tools.AskSave())
|
||||
{
|
||||
CloseGame();
|
||||
//zero 03-nov-2015 - close game after other steps. tools might need to unhook themselves from a core.
|
||||
Global.MovieSession.Movie.Stop();
|
||||
GlobalWin.Tools.Close();
|
||||
CloseGame();
|
||||
//does this need to be last for any particular reason? do tool dialogs persist settings when closing?
|
||||
SaveConfig();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue