# agent_ui: Fix hangs when accepting agent file deletions \(\#46086\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 32f71af03c7e193923e4c3e1489a9eaf0301e89b

Requested commit: 32f71af03c7e193923e4c3e1489a9eaf0301e89b

Commit: 32f71af03c7e193923e4c3e1489a9eaf0301e89b

Tree: 1a9fe918665d3823f986f01f993fc83974fa7227

Author: Lukas Wirth

Committer: GitHub

## Message

```
agent_ui: Fix hangs when accepting agent file deletions (#46086)

Closes https://github.com/zed-industries/zed/issues/44160

Release Notes:

- Fixed a hang when accepting file deletions made by the agent while the
deleted buffer was still open
```

## Parents

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

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