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
b800fe96d2Conrad Irwin committed on 2/13/2024, 3:01:09 AM· committed by GitHubparent21d2b5f
1 file changedLine totals unavailable