codex: fix clippy single-match on PR #14902

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-17 21:57:32 +00:00
parent b8d83bb0ef
commit 548f90dc48

View File

@@ -393,15 +393,14 @@ async fn stop_conversation_state(
state.input_task.abort();
let _ = state.input_task.await;
match state.fanout_task.take() {
Some(fanout_task) => match fanout_task_stop {
if let Some(fanout_task) = state.fanout_task.take() {
match fanout_task_stop {
RealtimeFanoutTaskStop::Abort => {
fanout_task.abort();
let _ = fanout_task.await;
}
RealtimeFanoutTaskStop::Detach => {}
},
None => {}
}
}
}