Skip to content
Permalink
Browse files

Update pipeline activity before closing pipelines

  • Loading branch information
cbrewster committed Apr 11, 2018
1 parent 5182c81 commit 004549da9f931fca7020c7ebe61acc29a31a6c63
Showing with 3 additions and 2 deletions.
  1. +3 −2 components/constellation/constellation.rs
@@ -2438,12 +2438,13 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
.collect::<Vec<_>>()
};

self.update_activity(old_pipeline_id);
self.update_activity(change.new_pipeline_id);

for pipeline_id in pipelines_to_close {
self.close_pipeline(pipeline_id, DiscardBrowsingContext::No, ExitPipelineMode::Normal);
}

self.update_activity(old_pipeline_id);
self.update_activity(change.new_pipeline_id);
self.notify_history_changed(change.top_level_browsing_context_id);
}
}

0 comments on commit 004549d

Please sign in to comment.
You can’t perform that action at this time.