# Remove occasionally incorrect expectation \(\#10358\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fc10201ce26e310f90fc55e39c33eae4a5b9779c

Requested commit: fc10201ce26e310f90fc55e39c33eae4a5b9779c

Commit: fc10201ce26e310f90fc55e39c33eae4a5b9779c

Tree: 42445ae80eb1477423e17d1c0f52fd58386df7ae

Author: Conrad Irwin

Committer: GitHub

## Message

```
Remove occasionally incorrect expectation (#10358)

This panic has occured a handful of times, I think it must be the case
that:

1. Item is dropped outside of an update loop
2. The next update is this one

In that case no flush effects will have called the release observers
yet, but we cannot upgrade the WeakModel because the ref count is 0



Release Notes:

- Fixed a (rare) panic while collaborating
```

## Parents

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

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