output/Multiple: dispose the AudioOutputControl instances
Fixes shutdown memory leak.
This commit is contained in:
parent
7e4e32cfe0
commit
f52b3b4e04
|
@ -47,6 +47,8 @@ MultipleOutputs::~MultipleOutputs() noexcept
|
|||
i->BeginDestroy();
|
||||
for (auto *i : outputs)
|
||||
i->FinishDestroy();
|
||||
for (auto *i : outputs)
|
||||
delete i;
|
||||
}
|
||||
|
||||
static FilteredAudioOutput *
|
||||
|
|
Loading…
Reference in New Issue