mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove usage of unwrap in handle_exit_pipeline_msg()
This commit is contained in:
parent
9eaf96b737
commit
abcd8133de
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ impl ScriptThread {
|
|||
let (response_chan, response_port) = channel();
|
||||
chan.send(message::Msg::PrepareToExit(response_chan)).ok();
|
||||
debug!("shutting down layout for page {}", id);
|
||||
response_port.recv().unwrap();
|
||||
let _ = response_port.recv();
|
||||
chan.send(message::Msg::ExitNow).ok();
|
||||
self.constellation_chan.send(ConstellationMsg::PipelineExited(id)).ok();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue