mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-12 15:50:55 +03:00
asdf
This commit is contained in:
@@ -249,7 +249,7 @@ async fn handle_capture_event(
|
||||
};
|
||||
|
||||
if start_timer {
|
||||
timer_notify.notify_one();
|
||||
timer_notify.notify_waiters();
|
||||
}
|
||||
if enter {
|
||||
spawn_hook_command(server, handle);
|
||||
|
||||
@@ -257,7 +257,7 @@ async fn handle_udp_rx(
|
||||
);
|
||||
// restart timer if necessary
|
||||
if restart_timer {
|
||||
timer_notify.notify_one();
|
||||
timer_notify.notify_waiters();
|
||||
}
|
||||
ignore_event
|
||||
} else {
|
||||
|
||||
@@ -127,11 +127,11 @@ async fn handle_frontend_event(
|
||||
log::debug!("frontend: {event:?}");
|
||||
match event {
|
||||
FrontendRequest::EnableCapture => {
|
||||
notify_capture.notify_one();
|
||||
notify_capture.notify_waiters();
|
||||
}
|
||||
FrontendRequest::EnableEmulation => {
|
||||
log::info!("received emulation enable request");
|
||||
notify_emulation.notify_one();
|
||||
notify_emulation.notify_waiters();
|
||||
}
|
||||
FrontendRequest::Create => {
|
||||
let handle = add_client(server, frontend).await;
|
||||
|
||||
Reference in New Issue
Block a user