Revert "fix clippy warning"

This reverts commit 0c38bc9805.
This commit is contained in:
Chip Reed
2023-05-11 17:49:51 +02:00
parent 8e32c14b26
commit 87b5c54deb

View File

@@ -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