claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Claude for Desktop not exiting

Open stanciuadrian opened this issue 11 months ago β€’ 17 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] 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

stanciuadrian avatar Dec 25 '25 15:12 stanciuadrian

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14951
  2. https://github.com/anthropics/claude-code/issues/15211
  3. https://github.com/anthropics/claude-code/issues/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

github-actions[bot] avatar Dec 25 '25 16:12 github-actions[bot]

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.

stanciuadrian avatar Dec 25 '25 16:12 stanciuadrian

+1

Lokut192 avatar Dec 30 '25 18:12 Lokut192

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.

shalalalaw avatar Dec 30 '25 18:12 shalalalaw

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

baldwindc avatar Dec 30 '25 23:12 baldwindc

+1

ycchang avatar Jan 01 '26 02:01 ycchang

+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 ? πŸ’ƒ πŸ˜ƒ

Lowforehead avatar Jan 03 '26 14:01 Lowforehead

Same here, I'm forced to kill Claude tasks

JayceeB1 avatar Jan 04 '26 14:01 JayceeB1

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

alexiglesias31 avatar Jan 05 '26 07:01 alexiglesias31

+1

fmigliorato avatar Jan 05 '26 12:01 fmigliorato

+1

JazzSax7 avatar Jan 05 '26 20:01 JazzSax7

+1

skr3178 avatar Jan 07 '26 13:01 skr3178

+0

stanciuadrian avatar Jan 11 '26 10:01 stanciuadrian

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

Lowforehead avatar Jan 11 '26 11:01 Lowforehead

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

stanciuadrian avatar Jan 11 '26 11:01 stanciuadrian

Fixed also for me on Windows 11

fmigliorato avatar Jan 11 '26 14:01 fmigliorato

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

nlaquerre avatar Jan 17 '26 01:01 nlaquerre

+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.

CW-KeithP avatar Jan 21 '26 23:01 CW-KeithP

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

NilsTessier avatar Jan 30 '26 12:01 NilsTessier