mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why Interrupting `exec_command` after launch but before terminal registration can leave the process running. The network denial monitor holds a strong reference that prevents startup cleanup from dropping the process. ## What changed Give the network denial monitor a weak reference so startup cleanup can terminate the process on interruption. The monitor can still terminate a registered process when a deferred network approval is denied. ## Testing Add a regression test that interrupts startup while plugin attribution is waiting on the exec server and checks that the server receives `process/terminate` for the launched process. GitOrigin-RevId: 54eb237028f9057d8520098b640782fe85c58331