mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-20 11:40:55 +03:00
release capture
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user