mirror of https://github.com/tauri-apps/tauri
Merge pull request #7217 from tauri-apps/fix/unused-deps
This commit is contained in:
commit
6b81d70a1a
|
@ -2935,7 +2935,7 @@ fn on_close_requested<'a, T: UserEvent>(
|
|||
}
|
||||
|
||||
fn on_window_close(window_id: WebviewId, windows: Arc<RefCell<HashMap<WebviewId, WindowWrapper>>>) {
|
||||
if let Some(mut window_wrapper) = windows.borrow_mut().get_mut(&window_id) {
|
||||
if let Some(window_wrapper) = windows.borrow_mut().get_mut(&window_id) {
|
||||
window_wrapper.inner = None;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ targets = [
|
|||
|
||||
[package.metadata.cargo-udeps.ignore]
|
||||
normal = [ "reqwest" ]
|
||||
build = [ "tauri-build" ]
|
||||
|
||||
[dependencies]
|
||||
serde_json = { version = "1.0", features = [ "raw_value" ] }
|
||||
|
@ -63,7 +64,6 @@ percent-encoding = "2.2"
|
|||
reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] }
|
||||
bytes = { version = "1", features = [ "serde" ] }
|
||||
raw-window-handle = "0.5"
|
||||
time = { version = "0.3", optional = true }
|
||||
glob = "0.3"
|
||||
data-url = { version = "0.2", optional = true }
|
||||
serialize-to-javascript = "=0.1.1"
|
||||
|
|
Loading…
Reference in New Issue