From 484eb90f77c0690269ca8086fd8b74f1bd014a05 Mon Sep 17 00:00:00 2001 From: Dionysis Athinaios Date: Sun, 17 Nov 2024 20:13:17 +0000 Subject: [PATCH] Comment out PostMessage --- src/win/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/window.rs b/src/win/window.rs index 0d937fc..47976ee 100644 --- a/src/win/window.rs +++ b/src/win/window.rs @@ -75,7 +75,7 @@ impl WindowHandle { pub fn close(&mut self) { if let Some(hwnd) = self.hwnd.take() { unsafe { - PostMessageW(hwnd, BV_WINDOW_MUST_CLOSE, 0, 0); + // PostMessageW(hwnd, BV_WINDOW_MUST_CLOSE, 0, 0); DestroyWindow(hwnd); } }