We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6333f8e commit b617a89Copy full SHA for b617a89
src/capture.rs
@@ -203,10 +203,9 @@ async fn handle_capture_event(
203
return release_capture(capture, server).await;
204
}
205
206
- if event == CaptureEvent::Begin {
207
- if *state != State::Sending {
208
- *state = State::WaitingForAck;
209
- }
+ // activated a new client
+ if event == CaptureEvent::Begin && Some(handle) != server.get_active() {
+ *state = State::WaitingForAck;
210
server.set_active(Some(handle));
211
spawn_hook_command(server, handle);
212
0 commit comments