mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Avoid deadlock when shutting down.
This commit is contained in:
parent
bdecfa13d2
commit
2416072dc2
7 changed files with 92 additions and 26 deletions
|
@ -436,7 +436,7 @@ impl<C> PaintThread<C> where C: PaintListener + Send + 'static {
|
|||
}
|
||||
|
||||
debug!("paint_thread: shutdown_chan send");
|
||||
shutdown_chan.send(()).unwrap();
|
||||
let _ = shutdown_chan.send(());
|
||||
}, Some(id), panic_chan);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue