diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 0c38376d9e7..1b48694bb25 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1129,7 +1129,6 @@ impl ScriptThread { panic_chan, pipeline_port, layout_to_constellation_chan, - layout_shutdown_chan, content_process_shutdown_chan, } = new_layout_info; @@ -1147,7 +1146,6 @@ impl ScriptThread { paint_chan: paint_chan, script_chan: self.control_chan.clone(), image_cache_thread: self.image_cache_thread.clone(), - layout_shutdown_chan: layout_shutdown_chan, content_process_shutdown_chan: content_process_shutdown_chan, }; @@ -1407,6 +1405,7 @@ impl ScriptThread { if window.pipeline() == id { debug!("shutting down layout for root context {:?}", id); shut_down_layout(&context); + let _ = self.constellation_chan.send(ConstellationMsg::PipelineExited(id)); return true } @@ -1414,6 +1413,7 @@ impl ScriptThread { if let Some(ref mut child_context) = context.remove(id) { shut_down_layout(&child_context); } + let _ = self.constellation_chan.send(ConstellationMsg::PipelineExited(id)); false } |