# acp_thread: Fix panic when following acp agents across buffers \(\#40798\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 854d1ec4dce1799a3bebd5a5d446835849f8ca71

Requested commit: 854d1ec4dce1799a3bebd5a5d446835849f8ca71

Commit: 854d1ec4dce1799a3bebd5a5d446835849f8ca71

Tree: 2a77f1e0617a20ef7736e138426fd153c4d63dc2

Author: Lukas Wirth

Committer: GitHub

## Message

```
acp_thread: Fix panic when following acp agents across buffers (#40798)

Fixes ZED-2D7

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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