# Do not resubscribe for Copilot logs events · gitcafe/zed

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

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

Visibility: public

Requested revision: d61565d227460742b6c2b8d45b8d079506a0bb35

Requested commit: d61565d227460742b6c2b8d45b8d079506a0bb35

Commit: d61565d227460742b6c2b8d45b8d079506a0bb35

Tree: 733a8c07f2d145c7e043dfb65c8191e8bcf6b602

Author: Kirill Bulatov

Committer: Kirill Bulatov

## Message

```
Do not resubscribe for Copilot logs events

Copilot sends multiple events about its LSP server readiness, not necessarily recreating the server from scratch (e.g. due to re-sign in action).
Avoid re-adding same log subscriptions on the same LSP server, which
causes panics.

```

## Parents

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

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