# gpui: Fix crashes when losing devices while resizing on windows \(\#42740\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a8e0de37ac99d402b598cbfd132f65ea033bf728

Requested commit: a8e0de37ac99d402b598cbfd132f65ea033bf728

Commit: a8e0de37ac99d402b598cbfd132f65ea033bf728

Tree: bf06d6f8a20b645eb2a3895d92d1d0bb8ed51eb2

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: Fix crashes when losing devices while resizing on windows (#42740)

Fixes ZED-1HC

Release Notes:

- Fixed Zed panicking when moving Zed windows over different screens
associated with different gpu devices on windows
```

## Parents

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

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