TAstudio - take charge of stopping a movie, fixes stack overflow on close?

This commit is contained in:
adelikat 2014-08-19 15:44:33 +00:00
parent a57750f6ce
commit c0a124ecbb
1 changed files with 7 additions and 1 deletions

View File

@ -63,6 +63,12 @@ namespace BizHawk.Client.EmuHawk
get { return _tas; }
}
private void TastudioToStopMovie()
{
Global.MovieSession.StopMovie(false);
GlobalWin.MainForm.SetMainformMovieInfo();
}
public TAStudio()
{
InitializeComponent();
@ -76,7 +82,7 @@ namespace BizHawk.Client.EmuHawk
if (AskSave())
{
SaveConfigSettings();
GlobalWin.MainForm.StopMovie(saveChanges: false);
TastudioToStopMovie();
DisengageTastudio();
}
else