From 874fba670ddab58985e5f5ec5434db8e129be9ec Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Tue, 10 Sep 2024 11:57:43 +0200 Subject: [PATCH] fix --- src/connect.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/connect.rs b/src/connect.rs index 216d601..12973bc 100644 --- a/src/connect.rs +++ b/src/connect.rs @@ -140,6 +140,7 @@ impl LanMouseConnection { log::warn!("client ({handle}) @ {addr} connection closed: {e}"); conns.lock().await.remove(&addr); server.set_active_addr(handle, None); + break; } tokio::time::sleep(Duration::from_millis(500)).await; }