mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Update pipeline activity before closing pipelines
This commit is contained in:
parent
5182c81c11
commit
004549da9f
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue