# Fix dealloc of MacWindow \(\#7708\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b800fe96d2983c32144621a50a21436cd32e44ed

Requested commit: b800fe96d2983c32144621a50a21436cd32e44ed

Commit: b800fe96d2983c32144621a50a21436cd32e44ed

Tree: 0e583a852458a98e56e26e5e46f9deea340146e3

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix dealloc of MacWindow (#7708)

We see some panics in the Drop handler for MacWindow

Looking into this, I noticed that our drop implementation was not
correctly
cleaning up the window state.

Release Notes:

- N/A
```

## Parents

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

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