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.
This commit is contained in:
parent
e1349ccadc
commit
e31abe6d6b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue