output/Control: avoid sending KILL twice

This commit is contained in:
Max Kellermann
2020-01-18 21:43:14 +01:00
parent cd612c4eef
commit 37f984ba74
3 changed files with 14 additions and 1 deletions

View File

@@ -526,6 +526,8 @@ AudioOutputControl::StartThread()
{
assert(command == Command::NONE);
killed = false;
const ScopeUnlock unlock(mutex);
thread.Start();
}