From ae5871468153fd07e33582f6a90e718c293834e5 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Fri, 8 Nov 2024 23:03:12 +0100 Subject: [PATCH] fix initial activation --- src/service.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/service.rs b/src/service.rs index 9ab9122..2717649 100644 --- a/src/service.rs +++ b/src/service.rs @@ -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); }