# fix\(desktop\): explicit stop resets the backend start-failure streak · pingdotgg/t3code

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

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

Visibility: public

Requested revision: d4d84c8a96faad5a8632ec784fd8cdee2a11c73c

Requested commit: d4d84c8a96faad5a8632ec784fd8cdee2a11c73c

Commit: d4d84c8a96faad5a8632ec784fd8cdee2a11c73c

Tree: 013e9dc88b4be6156a4d674a07028a3a09e554e9

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(desktop): explicit stop resets the backend start-failure streak

A stop/start after the repeated-start-failure dialog kept the old streak,
so the next crash loop never surfaced a dialog. Stop now resets it, with a
regression test.

The issue-10517 capture fixture now bounds every synchronous helper call
at 30s, so a hung xdotool/import raises into the restoring finally, and
restores the server entry even when restoring main.cjs fails.

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

```

## Parents

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

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