Remove unused boolean argument from ContellationMsg's GetPipeline

This commit is contained in:
Roman Zaynetdinov 2016-12-25 13:05:00 +02:00
parent cb5ceec150
commit 95552c4019
3 changed files with 5 additions and 5 deletions

View file

@ -260,7 +260,7 @@ impl Handler {
let msg = ConstellationMsg::GetPipeline(frame_id, sender.clone());
self.constellation_chan.send(msg).unwrap();
// Wait until the document is ready before returning the pipeline id.
if let Some((x, true)) = receiver.recv().unwrap() {
if let Some(x) = receiver.recv().unwrap() {
return Ok(x);
}
thread::sleep(Duration::from_millis(interval));