mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
codex: fix clippy single-match on PR #14902
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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 => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user