Commit 7e4e32cf authored by Max Kellermann's avatar Max Kellermann

output/Filtered: eliminate FinishDestroy()

This is implicitly done by the destructor.
parent 9f864988
......@@ -377,7 +377,6 @@ AudioOutputControl::FinishDestroy() noexcept
if (thread.IsDefined())
thread.Join();
output->FinishDestroy();
delete output;
output = nullptr;
}
......@@ -142,7 +142,6 @@ public:
const ConfigBlock &block);
void BeginDestroy() noexcept;
void FinishDestroy() noexcept;
const char *GetName() const {
return name;
......
......@@ -35,9 +35,3 @@ FilteredAudioOutput::BeginDestroy() noexcept
if (mixer != nullptr)
mixer_auto_close(mixer);
}
void
FilteredAudioOutput::FinishDestroy() noexcept
{
output.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