output/Filtered: remove BeginDestroy()

All it does is "sometimes" close the mixer, but that is also done in
the destructor.
This commit is contained in:
Max Kellermann
2018-01-04 10:29:27 +01:00
parent 192f4240e3
commit 0227af5bb7
3 changed files with 0 additions and 11 deletions
-2
View File
@@ -371,8 +371,6 @@ AudioOutputControl::LockCloseWait() noexcept
void
AudioOutputControl::BeginDestroy() noexcept
{
output->BeginDestroy();
if (thread.IsDefined()) {
const std::lock_guard<Mutex> protect(mutex);
CommandAsync(Command::KILL);