Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/tauri-runtime-wry/src/undecorated_resizing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ mod windows {
data.has_undecorated_shadows = wparam.0 != 0;
}

WM_DESTROY => {
WM_NCDESTROY => {
let data = data as *mut UndecoratedResizingData;
drop(Box::from_raw(data));
}
Expand Down Expand Up @@ -388,7 +388,7 @@ mod windows {
data.has_undecorated_shadows = wparam.0 != 0;
}

WM_DESTROY => {
WM_NCDESTROY => {
let data = GetWindowLongPtrW(child, GWLP_USERDATA);
let data = data as *mut UndecoratedResizingData;
drop(Box::from_raw(data));
Expand Down