# Shutdown language servers better \(\#35038\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2658b2801e382ed01261b4c9566759d735c8ce17)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2658b2801e382ed01261b4c9566759d735c8ce17

Requested commit: 2658b2801e382ed01261b4c9566759d735c8ce17

Commit: 2658b2801e382ed01261b4c9566759d735c8ce17

Tree: 4d8ba8b1cade7a379cf3f4d0024be78d1acf5141

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Shutdown language servers better (#35038)

Follow-up of https://github.com/zed-industries/zed/pull/33417

* adjust prettier mock LSP to handle `shutdown` and `exit` messages
* removed another `?.log_err()` backtrace from logs and improved the
logging info
* always handle the last parts of the shutdown logic even if the
shutdown response had failed

Release Notes:

- N/A
```

## Parents

- [2a9355a3d25ddd887556741a30bbafd5d6ff58f0](https://git.cafe/gitcafe/zed/commit/2a9355a3d25ddd887556741a30bbafd5d6ff58f0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2658b2801e382ed01261b4c9566759d735c8ce17?format=markdown)
