fix: app_handle as_ref

This commit is contained in:
GyDi 2023-02-15 17:25:35 +08:00 committed by GitHub
parent 2b6d9348cd
commit c9b7eccbc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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