Commit 09d41762 authored by Max Kellermann's avatar Max Kellermann

output/multiple: use WaitAll() in EnableDisable()

parent 30d41e45
......@@ -148,10 +148,7 @@ MultipleOutputs::EnableDisable()
ao->EnableDisableAsync();
}
for (auto *ao : outputs) {
const std::lock_guard<Mutex> lock(ao->mutex);
ao->WaitForCommand();
}
WaitAll();
}
void
......
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