# Avoid leaking \`TerminalPanel\`, which would in turn leak \`Project\` \(\#3908\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eceed7182488237bb723814cef26633bfab7dde8

Requested commit: eceed7182488237bb723814cef26633bfab7dde8

Commit: eceed7182488237bb723814cef26633bfab7dde8

Tree: 802ccc377658f3f2bea010c01df51fc189a3a444

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Avoid leaking `TerminalPanel`, which would in turn leak `Project` (#3908)

Release Notes:

- Fixed a leak that would prevent projects from being automatically
unshared or left when closing the corresponding window.
```

## Parents

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

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

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