Remove usage of unwrap in handle_exit_pipeline_msg()

This commit is contained in:
karan sharma 2017-02-09 13:36:01 +05:30
parent 9eaf96b737
commit abcd8133de

View file

@ -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();