Auto merge of #12030 - servo:exit-now, r=Manishearth

Don't panic in LayoutThread::exit_now() if the paint thread is gone a…

Fixes #11996.
Fixes #12005.
Fixes #12007.
Fixes #12011.
Fixes #12026.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12030)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-01 06:57:15 -07:00 committed by GitHub
commit 210265d30f

View file

@ -772,7 +772,7 @@ impl LayoutThread {
traversal.shutdown()
}
self.paint_chan.send(LayoutToPaintMsg::Exit).unwrap();
let _ = self.paint_chan.send(LayoutToPaintMsg::Exit);
}
fn handle_add_stylesheet<'a, 'b>(&self,