From 907a278a707e53890b2b525c78519c16f1140ea7 Mon Sep 17 00:00:00 2001 From: Danny Date: Wed, 13 Mar 2024 13:52:59 +0100 Subject: [PATCH] Removed double creation callback calls for edge2. --- src/core/browser_window/edge2.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/browser_window/edge2.rs b/src/core/browser_window/edge2.rs index 23885d9..95d8817 100644 --- a/src/core/browser_window/edge2.rs +++ b/src/core/browser_window/edge2.rs @@ -148,12 +148,6 @@ impl BrowserWindowExt for BrowserWindowImpl { Ok(()) }); - webview.add_navigation_completed(move |_, _| { - let handle = BrowserWindowImpl { inner: bw_inner }; - creation_callback(handle, callback_data); - Ok(()) - }); - Ok(()) }); Ok(())