فهرست منبع

fix: app_handle as_ref

GyDi 2 سال پیش
والد
کامیت
c9b7eccbc1
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src-tauri/src/core/sysopt.rs

+ 1 - 0
src-tauri/src/core/sysopt.rs

@@ -181,6 +181,7 @@ impl Sysopt {
             handle
                 .app_handle
                 .lock()
+                .as_ref()
                 .map(|app_handle| {
                     app_handle
                         .env()