Skip to content

Commit

Permalink
Fix a short blank when closing the window (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
godcop authored Jan 8, 2025
1 parent f10376d commit fc4d948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webview/platforms/winforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ def _shutdown():
if is_cef:
CEF.shutdown()
elif is_chromium:
self.hide()
self.browser.clear_user_data()

WinForms.Application.Exit()
Expand Down

0 comments on commit fc4d948

Please sign in to comment.