From fc4d948ee019567e79770fb4f43d0dbf22d2bf19 Mon Sep 17 00:00:00 2001 From: godcop Date: Thu, 9 Jan 2025 05:19:20 +0800 Subject: [PATCH] Fix a short blank when closing the window (#1570) --- webview/platforms/winforms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webview/platforms/winforms.py b/webview/platforms/winforms.py index e716c460..b238e690 100644 --- a/webview/platforms/winforms.py +++ b/webview/platforms/winforms.py @@ -286,6 +286,7 @@ def _shutdown(): if is_cef: CEF.shutdown() elif is_chromium: + self.hide() self.browser.clear_user_data() WinForms.Application.Exit()