# Revert "gpui: Fix \`RefCell already borrowed\` in \`WindowsPlatform::run\`" \(\#42481\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 854c6873c799c955f4c8030c2de2e26a6682a24e

Requested commit: 854c6873c799c955f4c8030c2de2e26a6682a24e

Commit: 854c6873c799c955f4c8030c2de2e26a6682a24e

Tree: 6cc31c89b7b7f70b640a1d069921197783bd98e8

Author: Lukas Wirth

Committer: GitHub

## Message

```
Revert "gpui: Fix `RefCell already borrowed` in `WindowsPlatform::run`" (#42481)

Reverts zed-industries/zed#42440

There are invalid temporaries in here keeping the borrows alive for
longer
```

## Parents

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

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