fix(user-agent): zombie sessions #74

This commit is contained in:
CleverWild
2026-06-18 16:29:43 +02:00
committed by Skipper
parent 3ff0875c48
commit 8dabec893e
2 changed files with 23 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
use super::{OutOfBand, OperatorConnection};
use crate::{
actors::{
flow_coordinator::client_connect_approval::ClientApprovalController,
flow_coordinator::client_connect_approval::{ClientApprovalAnswer, ClientApprovalController},
operator_registry::ConnectOperator,
},
peers::client::ClientProfile,
@@ -88,6 +88,7 @@ impl OperatorSession {
actor = "operator",
event = "failed to announce new client connection"
);
let _ = controller.tell(ClientApprovalAnswer { approved: false }).await;
return;
}