output/multiple: use WaitAll() in EnableDisable()
This commit is contained in:
parent
30d41e45e2
commit
09d4176210
@ -148,10 +148,7 @@ MultipleOutputs::EnableDisable()
|
||||
ao->EnableDisableAsync();
|
||||
}
|
||||
|
||||
for (auto *ao : outputs) {
|
||||
const std::lock_guard<Mutex> lock(ao->mutex);
|
||||
ao->WaitForCommand();
|
||||
}
|
||||
WaitAll();
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user