# Fix terminal memory leak by deduping alacritty events on background thread \(\#23593\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 813bbecd5c19a8bb2e7129121429d24cd3b221eb

Requested commit: 813bbecd5c19a8bb2e7129121429d24cd3b221eb

Commit: 813bbecd5c19a8bb2e7129121429d24cd3b221eb

Tree: 83384fc0b7663375c1783ebced403c29485afcce

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix terminal memory leak by deduping alacritty events on background thread (#23593)

Closes #23008

Release Notes:

- Fixed case where the terminal can leak memory when it produces events
at a faster rate than could be processed.
```

## Parents

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

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