From c9b7eccbc1260702f67e569eb388564a6c10b46c Mon Sep 17 00:00:00 2001 From: GyDi Date: Wed, 15 Feb 2023 17:25:35 +0800 Subject: [PATCH] fix: app_handle as_ref --- src-tauri/src/core/sysopt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/core/sysopt.rs b/src-tauri/src/core/sysopt.rs index 6b1d341..37c5033 100644 --- a/src-tauri/src/core/sysopt.rs +++ b/src-tauri/src/core/sysopt.rs @@ -181,6 +181,7 @@ impl Sysopt { handle .app_handle .lock() + .as_ref() .map(|app_handle| { app_handle .env()