# search: Fix panic in project search due to workspace double lease \(\#39049\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6d7a4c441b037f5b088bbb915167e8a12f95f311

Requested commit: 6d7a4c441b037f5b088bbb915167e8a12f95f311

Commit: 6d7a4c441b037f5b088bbb915167e8a12f95f311

Tree: 212b3b869a6a899ce64cc93dbc8f4121452dfeaa

Author: Lukas Wirth

Committer: GitHub

## Message

```
search: Fix panic in project search due to workspace double lease (#39049)

Fixes ZED-1K1

Release Notes:

- Fixed panic when spawning a new project search with include file only
filtering
```

## Parents

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

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