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