mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
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:
parent
0ae07e07e6
commit
0078e6c3bb
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue