Fix rewind crash when cancelling out of archive file picker dialog.

This commit is contained in:
J.D. Purcell 2017-05-08 22:50:32 -04:00
parent ae8f44096a
commit e72aa11d5d
1 changed files with 2 additions and 1 deletions

View File

@ -3669,6 +3669,8 @@ namespace BizHawk.Client.EmuHawk
StopMovie(true);
}
Global.Rewinder.Uninitialize();
if (GlobalWin.Tools.IsLoaded<TraceLogger>())
GlobalWin.Tools.Get<TraceLogger>().Restart();
@ -3700,7 +3702,6 @@ namespace BizHawk.Client.EmuHawk
GlobalWin.Tools.Restart();
RewireSound();
Global.Rewinder.Uninitialize();
Text = "BizHawk" + (VersionInfo.DeveloperBuild ? " (interim) " : string.Empty);
HandlePlatformMenus();
_stateSlots.Clear();