fix async calls on project updated entries to ensure that all files are updating appropriately

This commit is contained in:
KCaverly 2023-08-23 22:28:30 +02:00
parent 09fd99b1e3
commit e42b9e910e
2 changed files with 108 additions and 54 deletions

View file

@ -849,6 +849,7 @@ impl ProjectSearchView {
let model = model.read(cx);
project = model.project.clone();
SemanticIndex::global(cx).map(|semantic| {
dbg!("Initializing project");
semantic.update(cx, |this, cx| this.initialize_project(project.clone(), cx));
});
}