We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1afb5c commit 23132acCopy full SHA for 23132ac
.changes/plugin-ready-hook.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": "patch"
3
4
+
5
+Fixes the event system usage on the plugin `ready` hook.
tauri/src/app/runner.rs
@@ -312,9 +312,7 @@ fn build_webview(
312
};
313
application.run_setup(&mut w, source.to_string());
314
if source == "window-1" {
315
- w.dispatch(|w| {
316
- crate::plugin::ready(w);
317
- });
+ crate::plugin::ready(&mut w);
318
}
319
} else if arg == r#"{"cmd":"closeSplashscreen"}"# {
320
let content_href = match content_clone {
0 commit comments