Commit 29346dc9 authored by Max Kellermann's avatar Max Kellermann

output/wasapi: remove the thread management code from DoDisable()

This is duplicate; this has already been done in Close().
parent d19b3df3
......@@ -391,17 +391,8 @@ WasapiOutput::WasapiOutput(const ConfigBlock &block)
void
WasapiOutput::DoDisable() noexcept
{
if (thread) {
try {
thread->Finish();
thread->Join();
} catch (...) {
LogError(std::current_exception(),
"exception while disabling");
}
thread.reset();
client.reset();
}
assert(!thread);
device.reset();
enumerator.reset();
}
......
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