# gpui: Replace Mutex with RefCell for SubscriberSet \(\#30907\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 70b0c4d63d47db94d0cdb3373f9c31ea66699e11

Requested commit: 70b0c4d63d47db94d0cdb3373f9c31ea66699e11

Commit: 70b0c4d63d47db94d0cdb3373f9c31ea66699e11

Tree: 0192d18f69a938242e1e80c748119cd02d0cf5dc

Author: laizy

Committer: GitHub

## Message

```
gpui: Replace Mutex with RefCell for SubscriberSet (#30907)

`SubscriberSet` is `!Send` and `!Sync` because the `active` field of
`Subscriber` is `Rc`.

Release Notes:

- N/A
```

## Parents

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

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