gabdube / native-windows-gui

A light windows GUI toolkit for rust
https://gabdube.github.io/native-windows-gui/
MIT License
1.96k stars 127 forks source link

Remove subclass before dropping callback #258

Closed wtodd1 closed 2 years ago

wtodd1 commented 2 years ago

Remove the window subclass before dropping the event handler callback to prevent the subclass window procedure from being called during the drop.

Should fix #257

gabdube commented 2 years ago

Thanks for the fix!