Commit e31abe6d authored by Max Kellermann's avatar Max Kellermann

player/Thread: remove redundant outputs.Cancel() call

The STOP, EXIT and CLOSE_AUDIO commands are not finished here; they are propagated to PlayerControl::RunThread() where the outputs.Cancel() call will be done again.
parent e1349cca
......@@ -989,11 +989,8 @@ Player::Run() noexcept
pc.CommandFinished();
while (true) {
if (!ProcessCommand()) {
const ScopeUnlock unlock(pc.mutex);
pc.outputs.Cancel();
if (!ProcessCommand())
break;
}
if (buffering) {
/* buffering at the start of the song - wait
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment