From d0758e5fca67ca59b445921e9787dc7052a353c8 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Thu, 30 Jun 2022 10:49:10 -0300 Subject: [PATCH] chore(tauri-runtime-wry): remove commented out code --- core/tauri-runtime-wry/src/lib.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/tauri-runtime-wry/src/lib.rs b/core/tauri-runtime-wry/src/lib.rs index a5709139f..51573cc5c 100644 --- a/core/tauri-runtime-wry/src/lib.rs +++ b/core/tauri-runtime-wry/src/lib.rs @@ -1162,16 +1162,6 @@ impl Dispatch for WryDispatcher { self.window_id, WindowMessage::AddEventListener(id, Box::new(f)), )); - /* self - .context - .window_event_listeners - .lock() - .unwrap() - .get(&self.window_id) - .unwrap() - .lock() - .unwrap() - .insert(id, Box::new(f));*/ id }