# Restore foreground/background distinction and confine application state to the main thread \(\#3206\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6cab5c28851164e169107cb97fa0be626f67e936

Requested commit: 6cab5c28851164e169107cb97fa0be626f67e936

Commit: 6cab5c28851164e169107cb97fa0be626f67e936

Tree: d2aec71e22e7c43b05b02c77f8563e5651f26f8e

Author: Nathan Sobo

Committer: GitHub

## Message

```
Restore foreground/background distinction and confine application state to the main thread (#3206)

The potential for deadlock and other complexity ended up convincing us
that the benefits of making the app state accessible from any thread
were not worth their cost. We probably could have gone back to the old
executors, but we decided to fix forward and continue to get the
benefits of the new dispatcher.
```

## Parents

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

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

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