# fix\(desktop\): a stuck quit no longer leaves the app unkillable · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/bbc99df29798c78773fe5e9b3c5d9f6b6dfb4d45)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: bbc99df29798c78773fe5e9b3c5d9f6b6dfb4d45

Requested commit: bbc99df29798c78773fe5e9b3c5d9f6b6dfb4d45

Commit: bbc99df29798c78773fe5e9b3c5d9f6b6dfb4d45

Tree: 9fd359b1e62c26984aed7b4322dc86ad1e4029de

Author: PR Batch Tester

Committer: PR Batch Tester

## Message

```
fix(desktop): a stuck quit no longer leaves the app unkillable

Once a quit starts, the app sets `quitting`, hides its windows and waits
for shutdown. If that shutdown never finishes, every later Quit and
SIGTERM was swallowed, so only SIGKILL could end the app.

Now a Quit or SIGTERM that arrives after shutdown has been pending for
10 seconds exits the app. A repeat inside that window is ignored as
before, so a double Cmd-Q during a normal quit cannot orphan the backend.

Refs #23843

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [2c8bdf6177159d8fcd12a897d7c9311f6eb93237](https://git.cafe/pingdotgg/t3code/commit/2c8bdf6177159d8fcd12a897d7c9311f6eb93237?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/bbc99df29798c78773fe5e9b3c5d9f6b6dfb4d45?format=markdown)
