Skip to content

[BUG] Claude for Desktop not exiting #15368

Description

@stanciuadrian

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When I try to Exit Claude desktop, either via the main menu (File -> Exit) or taskbar icon (right click -> Exit), the main window disappears but the process is still running in the background.

If I try to start Claude desktop again (after clicking Exit once), the main window will show for 1-2s then disappear.
Unless the process is terminated via Task Manager, one cannot use the application again.

What Should Happen?

The 6-7 Claude processes should terminate and release the occupied RAM.

Error Messages/Logs

Steps to Reproduce

  1. Start Claude for Desktop
  2. (main menu) File -> Exit or (taskbar icon) right click -> Exit
  3. Examine the taskbar icon; Claude icon still there
  4. Start Claude for Desktop again
  5. The main window shows for 1-2s then disappears.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Claude 1.0.2339 (1782e2) 2025-12-16T19:35:52.000Z

Platform

Other

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

Activity

  1. github-actions commented on Dec 25, 2025

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] Claude Desktop macOS requires quitting twice (Cmd+Q → wait → system Dock pop-up menu Quit) #14951
    2. Windows: MCP server child processes not cleaned up on exit/crash #15211
    3. [BUG] background tasks are not properly killed and cleared up natively on Windows (powershell) #8865

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. stanciuadrian commented on Dec 25, 2025

    @stanciuadrian
    Author

    Before clicking Exit, task manager shows 7 Claude processes: main spawning 6 others (crashpad + gpu-process + utility + 3x renderer)

    After clicking Exit, only 1x renderer terminates.

  3. Lokut192 commented on Dec 30, 2025

    @Lokut192

    +1

  4. shalalalaw commented on Dec 30, 2025

    @shalalalaw

    Same here

    After I close the app, any attempts to reopen it result in a brief launching window before the window disappears. The tray icon is not present either. When I toggle settings to have the tray icon on after closing, I still cannot relaunch the app without first closing with task manager. If I click the tray icon to launch a new chat, the new chat appears to submit but again fails to launch.

  5. baldwindc commented on Dec 30, 2025

    @baldwindc

    +1. Guessing the quit button was written by AI :)

  6. ycchang commented on Jan 1, 2026

    @ycchang

    +1

  7. Lowforehead commented on Jan 3, 2026

    @Lowforehead

    +1

    Been noticing that for weeks. Affects both Windows and Mac OS.

    IT IS a regression, obviously.

    Sorry if that sounds rude, but...

    A process that refuses to terminate properly isn't some obscure edge case in an advanced feature - it's a fundamental application lifecycle bug. We're talking Software Development 101 here. Being able to close an application is literally the most basic function that exists. This should be a P0 critical issue, not something left unfixed for weeks.

    Claude has no match in its own realm, but a bug like this surviving for weeks is actually insane. We're talking Windows AND Mac OS here. Of course claude.ai remains normally usable, but a company such as anthropic can't underestimate the impact of this problem. I mean, what if you are a first time user who just downloaded the app ? You'll never get to understand how Claude can integrate into your workflow or change the way you work, because all you'll see is a desktop app unable to properly terminate. Any user from basic to advanced will run away as he sees that. Do you guys need help ? 💃 😃

  8. JayceeB1 commented on Jan 4, 2026

    @JayceeB1

    Same here, I'm forced to kill Claude tasks

  9. alexiglesias31 commented on Jan 5, 2026

    @alexiglesias31

    +1 to this issue, it's been happening for a few weeks now.

  10. fmigliorato commented on Jan 5, 2026

    @fmigliorato

    +1

  11. JazzSax7 commented on Jan 5, 2026

    @JazzSax7

    +1

  12. skr3178 commented on Jan 7, 2026

    @skr3178

    +1

  13. stanciuadrian commented on Jan 11, 2026

    @stanciuadrian
    Author

    +0

  14. Lowforehead commented on Jan 11, 2026

    @Lowforehead

    Has apparently been fixed, at least on Mac OS :)
    Will be checking windows later and editing.

  15. stanciuadrian commented on Jan 11, 2026

    @stanciuadrian
    Author

    no longer reproduces on Windows (on my machine™️): Claude 1.0.2768 (21341c) 2026-01-05T18:21:10.000Z

  16. fmigliorato commented on Jan 11, 2026

    @fmigliorato

    Fixed also for me on Windows 11

  17. nlaquerre commented on Jan 17, 2026

    @nlaquerre

    Found the cause: This bug only occurs when "Show Claude in menu bar" is disabled.

    Environment: Claude Version 1.1.351 (648bf5), Windows 11

    The fix: Enable the "Menu bar" setting under Desktop app → General. With this on, quitting from the system tray properly terminates all processes. With it off, zombie processes persist.


    What's happening:

    When the tray setting is enabled, Claude lives in the system tray (the small icons near the clock). To fully quit, you right-click the tray icon and select Exit — standard behavior for tray apps.

    When the tray setting is disabled, Claude doesn't appear in the tray, but it still seems to require being quit from there. Since there's no tray icon to access, there's no way to properly exit — hence the orphaned processes that can only be killed via Task Manager.


    Side note on terminology: The setting says "menu bar" (Mac terminology), but on Windows this controls the system tray / notification area. The original issue mentions "taskbar icon" which could mean either the main taskbar button or the tray icon — worth clarifying.


    Additional observations:

    • The app generally runs smoother with the tray setting enabled (no double-window startup glitch)
    • My firewall detected a new network connection immediately after restarting with the tray setting on — suggesting these might be meaningfully different runtime modes
  18. CW-KeithP commented on Jan 21, 2026

    @CW-KeithP

    +1 here

    I just created a desktop shortcut for taskkill /f /im claude.exe as it's way quicker than even exiting from the context menu.

  19. NilsTessier commented on Jan 30, 2026

    @NilsTessier

    +1 on mac
    i will often not even try to open claude and use other LLMs because i know it won't launch

  20. github-actions commented on Feb 28, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  21. eng-marani commented on Mar 4, 2026

    @eng-marani

    I'm absolutely furious about this bug that is still present today.
    Windows Claude Desktop stay in the tray icon forever even if Exit from context menu has been invoked.
    It consumes a large amount of CPU, and the only way is to kill the application from task manager.

    Why ? Why ? Why ?

    This is a basic dumb quality control, guys!

  22. github-actions commented on Mar 12, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  23. locked as resolved and limited conversation to collaborators on Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas reproHas detailed reproduction stepsmemoryplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions