Skip to content

Commit

Permalink
Update src/webview/webkitgtk/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Aug 21, 2024
1 parent 42c5dd0 commit bb9f359
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webview/webkitgtk/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ impl InnerWebView {
w.id().hash(&mut hasher);
hasher.finish().to_string()
};

// Connect before registering as recommended by the docs
manager.connect_script_message_received(None, move |_m, msg| {
#[cfg(feature = "tracing")]
Expand Down

0 comments on commit bb9f359

Please sign in to comment.