# Clear out project registration and sharing state on disconnect · gitcafe/zed

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

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

Visibility: public

Requested revision: a3e9a3afbf42438673572bca1c672cc8b57d1739

Requested commit: a3e9a3afbf42438673572bca1c672cc8b57d1739

Commit: a3e9a3afbf42438673572bca1c672cc8b57d1739

Tree: d28514257549a73010c945ff672cea2395c39718

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Clear out project registration and sharing state on disconnect

Previously, we weren't fully clearing the state associated with projects and worktrees when losing connection. This caused us to not see guest avatars disappear and not be able to re-share upon reconnect.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

```

## Parents

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

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