fix: app_handle as_ref

This commit is contained in:
GyDi 2023-02-15 17:25:35 +08:00 committed by GitHub
parent a23b0ba945
commit c63dd46bac

View File

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