mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 15:26:54 +00:00
message before modifying ctx
This commit is contained in:
parent
3f3449d056
commit
781e8fce97
@ -4580,7 +4580,6 @@ You may have it installed on another user account, but it is not available for t
|
||||
let web_context = match entry {
|
||||
Occupied(occupied) => {
|
||||
let occupied = occupied.into_mut();
|
||||
occupied.referenced_by_webviews.insert(label.clone());
|
||||
|
||||
#[cfg(windows)]
|
||||
if cfg!(debug_assertions) && occupied.environment_options != environment_options {
|
||||
@ -4592,6 +4591,8 @@ You may have it installed on another user account, but it is not available for t
|
||||
eprintln!("{message}");
|
||||
}
|
||||
|
||||
occupied.referenced_by_webviews.insert(label.clone());
|
||||
|
||||
occupied
|
||||
}
|
||||
Vacant(vacant) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user