diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx index 3314204fc..e023725bd 100644 --- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx +++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx @@ -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(); }