# Restore shutdown behavior \(\#2837\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 268f4b19397bbd39e5f45899efd5d72ee2b6f1a1

Requested commit: 268f4b19397bbd39e5f45899efd5d72ee2b6f1a1

Commit: 268f4b19397bbd39e5f45899efd5d72ee2b6f1a1

Tree: c95e5d58b44ea0014737e4f06b7ad59642fbf6a7

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Restore shutdown behavior (#2837)

Deals with https://github.com/zed-industries/community/issues/1898

Restores original close behavior from
https://github.com/zed-industries/zed/pull/2832/files#diff-89af0b4072205c53b518aa977d6be48997e1a51fa4dbf06c7ddd1fec99fc510eL444
(load diff for the last file, zed.rs)

and adds a better name for the variable.

Release Notes:

- Fixes `cmd-q` not working
```

## Parents

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

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

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