Prevent panic when URL channel receiver is dropped

This commit is contained in:
Adrian Kumpf
2026-02-25 14:14:19 +01:00
parent 5a08056b56
commit 1e4129694e
+1 -1
View File
@@ -164,7 +164,7 @@ fn main() -> anyhow::Result<()> {
Event::UserEvent(UserEvent::Navigation(url)) => {
if url.to_string() != "about:blank" {
log::debug!("URL changed: {url}");
tx.send(url).unwrap();
let _ = tx.send(url);
}
}