Skip to content

Commit f472778

Browse files
committed
fix(codex): close startup client on timeout
1 parent 7c1a83f commit f472778

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extensions/codex/src/app-server/attempt-startup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export async function startCodexAttemptThread(params: {
109109
onTimeout: async () => {
110110
await params.onStartupTimeout();
111111
await releaseStartupResourcesOnTimeout?.();
112+
clearSharedCodexAppServerClientIfCurrent(startupClientForAbandonedRequestCleanup);
112113
},
113114
operation: async () => {
114115
const threadConfig = mergeCodexThreadConfigs(

0 commit comments

Comments
 (0)