mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
Add trace hooks for Window and Document, and remove explicit rooting for the root DOM node. Fixes #901.
This commit is contained in:
parent
9640324721
commit
636c30affe
7 changed files with 66 additions and 39 deletions
|
@ -555,9 +555,6 @@ impl ScriptTask {
|
|||
fn handle_exit_msg(&mut self) {
|
||||
for page in self.page_tree.iter() {
|
||||
page.join_layout();
|
||||
do page.frame.unwrap().document.with_mut_base |doc| {
|
||||
doc.teardown();
|
||||
}
|
||||
page.layout_chan.send(layout_interface::ExitMsg);
|
||||
}
|
||||
self.compositor.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue