# Restore previous workspace on application resume \(\#10813\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 95118c6568687987882f208c1dd991bfa7270a26

Requested commit: 95118c6568687987882f208c1dd991bfa7270a26

Commit: 95118c6568687987882f208c1dd991bfa7270a26

Tree: 887b99a0f7b9f72c5e0cf97edf624a782b0468ec

Author: William Viktorsson

Committer: GitHub

## Message

```
Restore previous workspace on application resume (#10813)

Addresses #10812 

Release Notes:

- Launching an empty already-running Zed application now behaves like a
regular startup and respects the user `resume_on_startup` setting.
([#10812](https://github.com/zed-industries/zed/issues/10812)).

See attached showcase which highlights how the previous project can now
be re-opened through both "quit" and "close window".

This has a noticeable performance benefit on startup/project resume
time.

This should also make the behaviour of closing/opening an application
consistent between macOS/Linux/Windows.


https://github.com/zed-industries/zed/assets/22855292/9c37ba31-ce0a-4c3d-940d-a56e3347e64a
```

## Parents

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

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