mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-27 21:14:08 +00:00
Ensure Tranpsort is properly stopped after all playback has completed.
This commit is contained in:
parent
8b14719bbc
commit
ed0e23088d
@ -335,7 +335,7 @@ void Transport::OnPlaybackFinished(Player* player) {
|
||||
}
|
||||
|
||||
if (stopped) {
|
||||
this->SetPlaybackState(Transport::PlaybackStopped);
|
||||
this->Stop();
|
||||
}
|
||||
|
||||
DEFER(&Transport::RemoveActive, player);
|
||||
|
Loading…
Reference in New Issue
Block a user