# lsp: explicitly drop locks in handle_input \(\#12276\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e5085dfef662be2c90300be678d22a042d2545b0

Requested commit: e5085dfef662be2c90300be678d22a042d2545b0

Commit: e5085dfef662be2c90300be678d22a042d2545b0

Tree: b23f657092d0a286da066b6e1491d843648622c2

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
lsp: explicitly drop locks in handle_input (#12276)

Due to lifetime extension rules, we were holding onto the request
handler map mutex during parsing of the request itself. This had no
grand repercussions; it only prevented registering a handler for next
request until parsing of the previous one was done.



Release Notes:

- N/A
```

## Parents

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

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