Ensure Tranpsort is properly stopped after all playback has completed.

This commit is contained in:
Casey Langen 2016-06-04 13:43:14 -07:00
parent 8b14719bbc
commit ed0e23088d

View File

@ -335,7 +335,7 @@ void Transport::OnPlaybackFinished(Player* player) {
}
if (stopped) {
this->SetPlaybackState(Transport::PlaybackStopped);
this->Stop();
}
DEFER(&Transport::RemoveActive, player);