From f488c58aaf2421aab485ec94647809b3960a72a0 Mon Sep 17 00:00:00 2001 From: Jeffrey Hutchins Date: Tue, 4 Jul 2023 10:28:19 -0600 Subject: [PATCH] Update src/webview/webview2/mod.rs Co-authored-by: Amr Bashir --- src/webview/webview2/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/webview/webview2/mod.rs b/src/webview/webview2/mod.rs index 3f073382d..f326f19cf 100644 --- a/src/webview/webview2/mod.rs +++ b/src/webview/webview2/mod.rs @@ -1076,8 +1076,6 @@ fn get_windows_ver() -> Option<(u32, u32, u32)> { fn url_from_webview(webview: &ICoreWebView2) -> String { let mut pwstr = PWSTR::null(); - unsafe { webview.Source(&mut pwstr).unwrap() }; - take_pwstr(pwstr) }