# Merge pull request \#2008 from zed-industries/callback-leaks · gitcafe/zed

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

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

Visibility: public

Requested revision: 6a57bd2794431882874747c55a90ea9552954474

Requested commit: 6a57bd2794431882874747c55a90ea9552954474

Commit: 6a57bd2794431882874747c55a90ea9552954474

Tree: 6ace96f6cd542e51fd9cbc2f0cdc557a4a37c5be

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Merge pull request #2008 from zed-industries/callback-leaks

Fix callback leaks when subscriptions are added and dropped in the same effect cycle
```

## Parents

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

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

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