claude-code - 💡(How to fix) Fix [BUG] Chat window won’t close after restart (desktop app) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48812Fetched 2026-04-16 06:50:16
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

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?

The Fin AI Agent chat window stays open even after killing the app and reopening it.

Desktop app version: 2.1.109 OS: Windows 11

<img width="1396" height="998" alt="Image" src="https://github.com/user-attachments/assets/0f7ad09f-9d61-4184-b4c6-6480cbf736a2" />

What Should Happen?

The Fin AI Agent window should minimize/exit when selected to minimize/exit

Error Messages/Logs

Steps to Reproduce

Steps to reproduce: 1) Open Claude Code desktop app. 2) Open a Help. 3) Open Fin AI Agent 4) Try to exit. 5) Quit the app. 6) Observe the chat window is still open. 7) Exit the app 8) Reopen the app. 9) Observe the chat window is still open.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.109 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

This is the Claude Desktop App in the Code tab

extent analysis

TL;DR

The Fin AI Agent chat window remaining open after killing and reopening the app may be due to a persistence issue, and checking the app's window management and session handling code could provide a fix.

Guidance

  • Review the code responsible for managing the Fin AI Agent chat window's lifecycle, particularly the parts handling minimize, exit, and session persistence.
  • Investigate if there are any specific settings or flags in the Anthropics API or Claude Code configuration that could be influencing the window's behavior.
  • Consider testing the app on a different platform or version to see if the issue is specific to Windows 11 or the current version of Claude Code.
  • Check for any similar issues in the existing issues on GitHub to see if there are any known workarounds or fixes.

Example

No specific code example can be provided without more information about the codebase, but reviewing the window management code might involve looking for functions or methods related to window.close(), session.persist(), or similar.

Notes

The issue seems to be a regression, as it worked in a previous version, which suggests that the fix might involve reverting or adjusting recent changes related to window or session management.

Recommendation

Apply a workaround by manually closing the Fin AI Agent chat window before quitting the app, as this might help mitigate the issue until a proper fix is found.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Chat window won’t close after restart (desktop app) [1 participants]