mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
Merge branch 'codex/realtime-end-core' into codex/realtime-end-tui
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