From ed0e23088d006734b7ff5ab5ed2aefcb36cf2c1b Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Sat, 4 Jun 2016 13:43:14 -0700 Subject: [PATCH] Ensure Tranpsort is properly stopped after all playback has completed. --- src/core/playback/Transport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/playback/Transport.cpp b/src/core/playback/Transport.cpp index f5dd31af1..103249746 100644 --- a/src/core/playback/Transport.cpp +++ b/src/core/playback/Transport.cpp @@ -335,7 +335,7 @@ void Transport::OnPlaybackFinished(Player* player) { } if (stopped) { - this->SetPlaybackState(Transport::PlaybackStopped); + this->Stop(); } DEFER(&Transport::RemoveActive, player);