# Fix retain cycle in on_app_quit \(\#50985\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c481c686a7eb542047ed231c1b95c15bdc95b8b

Requested commit: 5c481c686a7eb542047ed231c1b95c15bdc95b8b

Commit: 5c481c686a7eb542047ed231c1b95c15bdc95b8b

Tree: e07d6b33c29444f73a08f8d35a804dd929aad245

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix retain cycle in on_app_quit (#50985)

Updates #50970

While investigating the executor shutdown code, Claude noticed that we
never
actually drop the app because of a reference cycle.

Release Notes:

- N/A
```

## Parents

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

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