mirror of
https://github.com/stablyai/orca.git
synced 2026-10-01 00:02:10 +00:00
fix(codex): account the naming child on the unexpected-exit path too
An unexpected app-server death orphan-killed the naming child without registering it, so full shutdown could not prove that one stopped.
This commit is contained in:
@@ -146,6 +146,9 @@ export async function acquireCodexStructuredSession(input: {
|
||||
error,
|
||||
prompts: acquisition.prompts,
|
||||
onBackgroundTasksChanged: deps.onBackgroundTasksChanged,
|
||||
// An unexpected death orphans the naming child too; shutdown
|
||||
// still has to prove that one stopped.
|
||||
namingOrphans,
|
||||
...(deps.onEvent ? { onEvent: deps.onEvent } : {})
|
||||
})
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user