mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-11 02:31:29 +03:00
add release capture log message
This commit is contained in:
@@ -234,6 +234,7 @@ async fn handle_capture_event(
|
|||||||
// we release the capture
|
// we release the capture
|
||||||
if let Some(pos) = server.get_incoming_pos(handle) {
|
if let Some(pos) = server.get_incoming_pos(handle) {
|
||||||
if server.client_manager.client_at(pos).is_none() {
|
if server.client_manager.client_at(pos).is_none() {
|
||||||
|
log::info!("releasing capture: no active client at this position");
|
||||||
capture.release().await?;
|
capture.release().await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user