fix initial activation

This commit is contained in:
Ferdinand Schober
2024-11-08 23:03:12 +01:00
parent 875a31907a
commit ae58714681

View File

@@ -143,6 +143,10 @@ impl Service {
pub async fn run(&mut self) -> Result<(), ServiceError> {
for handle in self.client_manager.active_clients() {
// small hack: `activate_client()` checks, if the client
// is already active in client_manager and does not create a
// capture barrier in that case so we have to deactivate it first
self.client_manager.deactivate_client(handle);
self.activate_client(handle);
}