Browse Source

Revert "fix clippy warning"

This reverts commit 0c38bc980551bb1287c0064d338b34fe53fb3b0a.
Chip Reed 2 năm trước cách đây
mục cha
commit
87b5c54deb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/tauri/src/manager.rs

+ 1 - 1
core/tauri/src/manager.rs

@@ -1327,7 +1327,7 @@ impl<R: Runtime> WindowManager<R> {
       app_handle.clone(),
       web_resource_request_handler,
     )?;
-    pending.ipc_handler = Some(self.prepare_ipc_handler(app_handle));
+    pending.ipc_handler = Some(self.prepare_ipc_handler(app_handle.clone()));
 
     // in `Windows`, we need to force a data_directory
     // but we do respect user-specification