output/Control: remove unused method StopThread()

This commit is contained in:
Max Kellermann
2018-01-04 09:20:22 +01:00
parent 8322ae5a4c
commit b0ea32f660
2 changed files with 0 additions and 11 deletions

View File

@@ -360,16 +360,6 @@ AudioOutputControl::LockCloseWait() noexcept
CloseWait(); CloseWait();
} }
void
AudioOutputControl::StopThread() noexcept
{
assert(thread.IsDefined());
assert(allow_play);
LockCommandWait(Command::KILL);
thread.Join();
}
void void
AudioOutputControl::BeginDestroy() noexcept AudioOutputControl::BeginDestroy() noexcept
{ {

View File

@@ -286,7 +286,6 @@ public:
} }
void StartThread(); void StartThread();
void StopThread() noexcept;
/** /**
* Caller must lock the mutex. * Caller must lock the mutex.