# Fix repl "plain" terminals enqueing events without ever dequeuing \(\#23641\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5f417eda25352f214dfd10b587d7e067286cce90

Requested commit: 5f417eda25352f214dfd10b587d7e067286cce90

Commit: 5f417eda25352f214dfd10b587d7e067286cce90

Tree: 40d2512e8d547c583267b581fc59760fc944042e

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix repl "plain" terminals enqueing events without ever dequeuing (#23641)

Bringing back part of #23631 which was reverted in #23636. Different but
related memory leak to what's described in #23008

Release Notes:

- N/A
```

## Parents

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

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