# Handle session restart failures without dropping active thread session · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 4b80ad2a358fc47fff96c0c1cad9a710b60a6b03

Requested commit: 4b80ad2a358fc47fff96c0c1cad9a710b60a6b03

Commit: 4b80ad2a358fc47fff96c0c1cad9a710b60a6b03

Tree: bd7b56f855d32f6820aa759bd7d1a57e8ae266a9

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Handle session restart failures without dropping active thread session

- Reorder restart flow to bind the new provider session before stopping the old one
- Log (and swallow) stop-session failures for superseded sessions
- Add regression test ensuring failed restart does not stop the active session

```

## Parents

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

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