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.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index 5edec50a324..8ca1eb4a5bf 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -629,7 +629,9 @@ impl ScriptTask {
}
}
- fn handle_exit_window_msg(&mut self, _id: PipelineId) -> bool {
+ fn handle_exit_window_msg(&mut self, id: PipelineId) -> bool {
+ self.handle_exit_pipeline_msg(id);
+
// TODO(tkuehn): currently there is only one window,
// so this can afford to be naive and just shut down the
// compositor. In the future it'll need to be smarter.