Skip to content

Commit 960b48a

Browse files
committed
Reverse Windows changes
1 parent 484eb90 commit 960b48a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/win/window.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ impl WindowHandle {
7575
pub fn close(&mut self) {
7676
if let Some(hwnd) = self.hwnd.take() {
7777
unsafe {
78-
// PostMessageW(hwnd, BV_WINDOW_MUST_CLOSE, 0, 0);
79-
DestroyWindow(hwnd);
78+
PostMessageW(hwnd, BV_WINDOW_MUST_CLOSE, 0, 0);
8079
}
8180
}
8281
}

0 commit comments

Comments
 (0)