don't control stop movie in TAStudio movie load
was removed in b6a0688be0
, and while not strictly required this will leak TasMovies otherwise.
This commit is contained in:
parent
8956657a34
commit
74dcd81b85
|
@ -63,7 +63,7 @@
|
|||
{
|
||||
Activate();
|
||||
_suppressAskSave = suppressSave;
|
||||
NewTasMenuItem_Click(null, null);
|
||||
StartNewTasMovie();
|
||||
_suppressAskSave = false;
|
||||
}
|
||||
}
|
||||
|
@ -106,9 +106,7 @@
|
|||
public bool RestartMovie()
|
||||
{
|
||||
if (!AskSaveChanges()) return false;
|
||||
WantsToControlStopMovie = false;
|
||||
var success = StartNewMovieWrapper(CurrentTasMovie, isNew: false);
|
||||
WantsToControlStopMovie = true;
|
||||
RefreshDialog();
|
||||
return success;
|
||||
}
|
||||
|
|
|
@ -610,7 +610,9 @@ namespace BizHawk.Client.EmuHawk
|
|||
SetTasMovieCallbacks(movie);
|
||||
|
||||
SuspendLayout();
|
||||
WantsToControlStopMovie = false;
|
||||
bool result = MainForm.StartNewMovie(movie, isNew);
|
||||
WantsToControlStopMovie = true;
|
||||
ResumeLayout();
|
||||
if (result)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue