Windows Codex app leaves backend helper processes running when closed via window X

Resolved 💬 3 comments Opened Apr 13, 2026 by argifford Closed Apr 13, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Codex app for Windows 26.409.20454

What subscription do you have?

Enterprise

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Closing the Codex app using the titlebar X does not fully shut down backend helper processes. Using File -> Exit shuts down cleanly.

What steps can reproduce the bug?

  1. Open the Codex app on Windows.
  2. Wait for startup to finish with MCP tools enabled.
  3. Close the app with the window X.
  4. Inspect running processes in Task Manager or PowerShell.

What is the expected behavior?

All Codex-related processes exit.

Actual:
Backend/helper processes remain running after the window closes, including:

  • codex.exe (app-server)
  • uvx.exe
  • node.exe

Additional information

Notes:

  • On this machine, File -> Exit is clean.
  • The issue appears specific to the window-close path.
  • The remaining helper processes appear to be MCP-related children.

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #17322
  • #17411
  • #17476
  • #17524

Powered by Codex Action

argifford · 4 months ago

Same as https://github.com/openai/codex/issues/17322 - added comment there

PaulStSmith · 4 months ago

<img width="352" height="163" alt="Image" src="https://github.com/user-attachments/assets/40d4c7ee-9d70-4e02-b9f6-b665696c6c3b" />

Apparently, the issue has been fixed on 26.415.20818
I just tested and both “New chat”, close/reopen are working as they should, and right-clicking the tray icon closes it completely.
However, “New chat” creates a new chat for the current project, not a totally new one. But this is the standard behavior when opening Codex, if defaults to the last opened project.