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

Fixes #11996.
Fixes #12005.
Fixes #12007.
Fixes #12011.
Fixes #12026.
This commit is contained in:
Ms2ger 2016-07-01 12:15:51 +02:00
parent 0ae07e07e6
commit 0078e6c3bb

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,