Merge pull request #4980 from FunctionalDragon/patch-2
send stop message before saving recording
This commit is contained in:
commit
7565d97733
|
@ -881,15 +881,15 @@ void CFrame::DoStop()
|
|||
Core::SetState(state);
|
||||
}
|
||||
|
||||
if (NetPlayDialog::GetNetPlayClient())
|
||||
NetPlayDialog::GetNetPlayClient()->Stop();
|
||||
|
||||
// TODO: Show the author/description dialog here
|
||||
if (Movie::IsRecordingInput())
|
||||
DoRecordingSave();
|
||||
if (Movie::IsMovieActive())
|
||||
Movie::EndPlayInput(false);
|
||||
|
||||
if (NetPlayDialog::GetNetPlayClient())
|
||||
NetPlayDialog::GetNetPlayClient()->Stop();
|
||||
|
||||
if (!m_tried_graceful_shutdown && UICommon::TriggerSTMPowerEvent())
|
||||
{
|
||||
m_tried_graceful_shutdown = true;
|
||||
|
|
Loading…
Reference in New Issue