diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-04 11:14:02 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-04 13:24:32 +0200 |
commit | 021b9e32394e4436a2a46e07628e4a19295d74ff (patch) | |
tree | 2b9941af82a9d6d0df755bedc3e2cf45243ab340 /components/layout/layout_thread.rs | |
parent | 6581e3504a60aa1e7c363cc93b1036b4a174c166 (diff) | |
download | servo-021b9e32394e4436a2a46e07628e4a19295d74ff.tar.gz servo-021b9e32394e4436a2a46e07628e4a19295d74ff.zip |
Remove the layout shutdown channel.
Nobody is listening.
Diffstat (limited to 'components/layout/layout_thread.rs')
-rw-r--r-- | components/layout/layout_thread.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/layout/layout_thread.rs b/components/layout/layout_thread.rs index 779a23fba82..b48813a0c31 100644 --- a/components/layout/layout_thread.rs +++ b/components/layout/layout_thread.rs @@ -259,7 +259,6 @@ impl LayoutThreadFactory for LayoutThread { font_cache_thread: FontCacheThread, time_profiler_chan: time::ProfilerChan, mem_profiler_chan: mem::ProfilerChan, - shutdown_chan: IpcSender<()>, content_process_shutdown_chan: IpcSender<()>, webrender_api_sender: Option<webrender_traits::RenderApiSender>) { thread::spawn_named_with_send_on_panic(format!("LayoutThread {:?}", id), @@ -286,7 +285,6 @@ impl LayoutThreadFactory for LayoutThread { layout.start(); }, reporter_name, sender, Msg::CollectReports); } - let _ = shutdown_chan.send(()); let _ = content_process_shutdown_chan.send(()); }, Some(id), panic_chan); } @@ -748,7 +746,6 @@ impl LayoutThread { self.font_cache_thread.clone(), self.time_profiler_chan.clone(), self.mem_profiler_chan.clone(), - info.layout_shutdown_chan, info.content_process_shutdown_chan, self.webrender_api.as_ref().map(|wr| wr.clone_sender())); } |