mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 10:42:08 +00:00
Fixed removal of closed projects in randomized test
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
aa7918c4b5
commit
f519f32ec2
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ async fn apply_client_operation(
|
||||||
.unwrap();
|
.unwrap();
|
||||||
cx.update(|_| {
|
cx.update(|_| {
|
||||||
client.remote_projects_mut().remove(ix);
|
client.remote_projects_mut().remove(ix);
|
||||||
client.buffers().retain(|project, _| project != project);
|
client.buffers().retain(|p, _| *p != project);
|
||||||
drop(project);
|
drop(project);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue