aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaran sharma <karan1276@gmail.com>2017-02-09 13:36:01 +0530
committerkaran sharma <karan1276@gmail.com>2017-02-13 15:55:37 +0530
commitabcd8133deffe54f8345521cfff0225e0a925b10 (patch)
tree91707afbce13a2bf5f4976b6e4cad06cd635cea4
parent9eaf96b73716450caba5e85b9c5d3622242f2608 (diff)
downloadservo-abcd8133deffe54f8345521cfff0225e0a925b10.tar.gz
servo-abcd8133deffe54f8345521cfff0225e0a925b10.zip
Remove usage of unwrap in handle_exit_pipeline_msg()
-rw-r--r--components/script/script_thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index c50011bf19c..fa83eaed631 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -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();