# workspace: Prevent user from undoing persistent session deserialization \(\#25106\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f606b0641e2c82221e60f88f7e70da129b676436

Requested commit: f606b0641e2c82221e60f88f7e70da129b676436

Commit: f606b0641e2c82221e60f88f7e70da129b676436

Tree: 37fb732b2e4e8c6eb68977bd0c147fdf75bd82a3

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
workspace: Prevent user from undoing persistent session deserialization (#25106)

Closes #21846

Release Notes:

- Fixed a bug that made it possible to undo changes in dirty
deserialized buffer (with `restore_unsaved_buffers: true`)
```

## Parents

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

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