diff options
author | karan sharma <karan1276@gmail.com> | 2017-02-09 13:36:01 +0530 |
---|---|---|
committer | karan sharma <karan1276@gmail.com> | 2017-02-13 15:55:37 +0530 |
commit | abcd8133deffe54f8345521cfff0225e0a925b10 (patch) | |
tree | 91707afbce13a2bf5f4976b6e4cad06cd635cea4 | |
parent | 9eaf96b73716450caba5e85b9c5d3622242f2608 (diff) | |
download | servo-abcd8133deffe54f8345521cfff0225e0a925b10.tar.gz servo-abcd8133deffe54f8345521cfff0225e0a925b10.zip |
Remove usage of unwrap in handle_exit_pipeline_msg()
-rw-r--r-- | components/script/script_thread.rs | 2 |
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(); |