aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-03-29 12:42:01 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-03-29 12:42:01 +0530
commitaac2da75f40f4c55a4b450b6d9d134429fcf741e (patch)
tree46b3d933d44726121af4f4079a80282b7b73018e /components/script/script_thread.rs
parentddc57fe641c3940ecdad98297ac5b2ff95c3340c (diff)
parenta5a299ea881cc589511f8a03f63d53f4b39cdf66 (diff)
downloadservo-aac2da75f40f4c55a4b450b6d9d134429fcf741e.tar.gz
servo-aac2da75f40f4c55a4b450b6d9d134429fcf741e.zip
Auto merge of #8641 - notriddle:no_headless, r=glennw
No more headless compositor. Just the normal one. Fixes #8573 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 5876f7d16c9..c591cd955a3 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -548,6 +548,7 @@ impl ScriptThreadFactory for ScriptThread {
let reporter_name = format!("script-reporter-{}", id);
mem_profiler_chan.run_with_memory_reporting(|| {
script_thread.start();
+ let _ = script_thread.compositor.borrow_mut().send(ScriptToCompositorMsg::Exited);
let _ = script_thread.content_process_shutdown_chan.send(());
}, reporter_name, channel_for_reporter, CommonScriptMsg::CollectReports);