# gpui: Restore last window close behavior on macOS \(\#43058\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2c4fd24d37198cebd9926b69a2909858b2aece69

Requested commit: 2c4fd24d37198cebd9926b69a2909858b2aece69

Commit: 2c4fd24d37198cebd9926b69a2909858b2aece69

Tree: b5b3113a2c27a1e492593e83428ff090012dcb07

Author: Finn Evers

Committer: GitHub

## Message

```
gpui: Restore last window close behavior on macOS (#43058)

Follow-up to https://github.com/zed-industries/zed/pull/42391

Release Notes:

- Fixed an issue where Zed did not respect the `on_last_window_closed`
setting on macOS
```

## Parents

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

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