release capture

This commit is contained in:
Ferdinand Schober
2024-09-10 11:52:51 +02:00
parent bc192bdf6b
commit fd5b8ed25e

View File

@@ -139,6 +139,7 @@ impl LanMouseConnection {
if let Err(e) = conn.send(&buf[..len]).await {
log::warn!("client ({handle}) @ {addr} connection closed: {e}");
conns.lock().await.remove(&addr);
server.set_active_addr(handle, None);
}
tokio::time::sleep(Duration::from_millis(500)).await;
}