# gpui: Fix race condition when upgrading a weak reference \(\#30952\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c4dbaa91f0753f6c0f28bb10fcb36aae285a4b19

Requested commit: c4dbaa91f0753f6c0f28bb10fcb36aae285a4b19

Commit: c4dbaa91f0753f6c0f28bb10fcb36aae285a4b19

Tree: 19c9083fd0cc2145ab93ebe9f5d5e70ebb0c866e

Author: laizy

Committer: GitHub

## Message

```
gpui: Fix race condition when upgrading a weak reference (#30952)

Release Notes:

- N/A
```

## Parents

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

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