# Patch panic around pinned tab count \(\#33335\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0c78a115debd35f43d748b42bfeaa5486252a835

Requested commit: 0c78a115debd35f43d748b42bfeaa5486252a835

Commit: 0c78a115debd35f43d748b42bfeaa5486252a835

Tree: 91f1d400a32d832e4d98380b20e70bcd3156be6f

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Patch panic around pinned tab count (#33335)

After much investigation, I have not been able to track down what is
causing [this
panic](https://github.com/zed-industries/zed/issues/33342). I'm clamping
the value for now, because a bug is better than a crash. Hopefully
someone finds reproduction steps, and I will implement a proper fix.

Release Notes:

- N/A
```

## Parents

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

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