aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index 870dec7468d..688176bc4c8 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -564,6 +564,7 @@ impl ScriptTask {
}
page.layout_chan.send(layout_interface::ExitMsg);
}
+ self.compositor.close();
}
/// The entry point to document loading. Defines bindings, sets up the window and document