Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pending pipelines to Frame instantly #12928

Closed
wants to merge 7 commits into from

Add testing assert

  • Loading branch information
cbrewster committed Sep 3, 2016
commit ba1a3f1f8835a85513d2ff34fec1a80ed342a6a3
@@ -1618,6 +1618,7 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
let result = match self.pipelines.get(&pipeline_id) {
None => return self.compositor_proxy.send(ToCompositorMsg::ChangePageTitle(pipeline_id, None)),
Some(pipeline) => {
assert!(!pipeline.is_pending);
if !pipeline.is_pending {
pipeline.script_chan.send(ConstellationControlMsg::GetTitle(pipeline_id))
} else {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.