style(renderer): format navigation commit callback

This commit is contained in:
ldm0
2026-10-11 18:06:47 +08:00
parent 2967c328f0
commit 08c366892d
+3 -1
View File
@@ -76,7 +76,9 @@ impl MainWindowProxyNavigationCommit {
// Unload sees the attached WindowProxy, and its outgoing
// Document remains associated after execution retirement.
let host_ptr = (*self.context_host).as_ptr();
JsContextHost::dispatch_main_document_unload_for_navigation_commit(scope, host_ptr);
JsContextHost::dispatch_main_document_unload_for_navigation_commit(
scope, host_ptr,
);
crate::context_bootstrap::retain_window_document_in_retired_realm(scope);
}
context.detach_global();