Commit b0ea32f6 authored by Max Kellermann's avatar Max Kellermann

output/Control: remove unused method StopThread()

parent 8322ae5a
...@@ -361,16 +361,6 @@ AudioOutputControl::LockCloseWait() noexcept ...@@ -361,16 +361,6 @@ AudioOutputControl::LockCloseWait() noexcept
} }
void void
AudioOutputControl::StopThread() noexcept
{
assert(thread.IsDefined());
assert(allow_play);
LockCommandWait(Command::KILL);
thread.Join();
}
void
AudioOutputControl::BeginDestroy() noexcept AudioOutputControl::BeginDestroy() noexcept
{ {
output->BeginDestroy(); output->BeginDestroy();
......
...@@ -286,7 +286,6 @@ public: ...@@ -286,7 +286,6 @@ public:
} }
void StartThread(); void StartThread();
void StopThread() noexcept;
/** /**
* Caller must lock the mutex. * Caller must lock the mutex.
......
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