mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +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();
|
||||
cx.update(|_| {
|
||||
client.remote_projects_mut().remove(ix);
|
||||
client.buffers().retain(|project, _| project != project);
|
||||
client.buffers().retain(|p, _| *p != project);
|
||||
drop(project);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue