mirror of
https://github.com/openai/codex.git
synced 2026-10-25 18:28:38 +00:00
fix(app-server): unload threads from shared processor
Allow thread teardown to run from shared connection handlers by making unload_thread_without_subscribers take &self. The method only uses interior-mutability fields and cloned handles, so it does not require mutable access to the processor. Co-authored-by: Codex noreply@openai.com
This commit is contained in:
co-authored by
Codex noreply@openai.com
parent
361dae22b2
commit
20e063a18d
@@ -5601,7 +5601,7 @@ impl CodexMessageProcessor {
|
||||
}
|
||||
|
||||
async fn unload_thread_without_subscribers(
|
||||
&mut self,
|
||||
&self,
|
||||
thread_id: ThreadId,
|
||||
thread: Arc<CodexThread>,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user