mirror of
https://github.com/openai/codex.git
synced 2026-10-24 18:18:41 +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 need 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
ec5a7fd714
commit
83b54acd91
@@ -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