fix: app_handle as_ref

This commit is contained in:
GyDi
2023-02-15 17:25:35 +08:00
committed by GitHub
Unverified
parent 2b6d9348cd
commit c9b7eccbc1

View File

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