fix: drop conversation when /new (#7297)

This commit is contained in:
jif-oai
2025-11-25 17:20:25 +00:00
committed by GitHub
parent d8a7a63959
commit 2845e2c006
3 changed files with 109 additions and 1 deletions
+4
View File
@@ -1745,6 +1745,10 @@ mod handlers {
pub async fn shutdown(sess: &Arc<Session>, sub_id: String) -> bool {
sess.abort_all_tasks(TurnAbortReason::Interrupted).await;
sess.services
.unified_exec_manager
.terminate_all_sessions()
.await;
info!("Shutting down Codex instance");
// Gracefully flush and shutdown rollout recorder on session end so tests