mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
fixed calling unwrap on an Err value
This commit is contained in:
parent
3e2753cbc9
commit
41accc283d
1 changed files with 1 additions and 1 deletions
|
@ -2201,7 +2201,7 @@ fn shut_down_layout(context_tree: &BrowsingContext) {
|
|||
let chan = window.layout_chan().clone();
|
||||
if chan.send(message::Msg::PrepareToExit(response_chan)).is_ok() {
|
||||
channels.push(chan);
|
||||
response_port.recv().unwrap();
|
||||
let _ = response_port.recv();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue