# Fix crash when toggling deleted hunk \(\#27138\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bbc7fcc54f40dd9c6be5eb057b58e01b49d1ae58

Requested commit: bbc7fcc54f40dd9c6be5eb057b58e01b49d1ae58

Commit: bbc7fcc54f40dd9c6be5eb057b58e01b49d1ae58

Tree: 0f9f5d9d5d307faec15d60dfc3c10de523cb28eb

Author: João Marcos

Committer: GitHub

## Message

```
Fix crash when toggling deleted hunk (#27138)

Release Notes:

- Fix rare crash when toggling deleted hunks.

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
```

## Parents

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

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