fix: omitted the let bindings (#31908)

This commit is contained in:
Azhar Ismagulova 2024-03-27 20:22:51 +00:00 committed by GitHub
parent da76ebabe9
commit ff95ce5abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 20 additions and 26 deletions

View file

@ -783,7 +783,7 @@ impl WindowMethods for Window {
// which calls into https://html.spec.whatwg.org/multipage/#discard-a-document.
window.discard_browsing_context();
let _ = window.send_to_constellation(ScriptMsg::DiscardTopLevelBrowsingContext);
window.send_to_constellation(ScriptMsg::DiscardTopLevelBrowsingContext);
}
});
self.task_manager()