mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Drop project instead of worktree to simulate client leaving
This commit is contained in:
parent
afec4152f4
commit
c6dd797f4e
1 changed files with 1 additions and 1 deletions
|
@ -1632,7 +1632,7 @@ mod tests {
|
|||
let buffer_b = cx_b
|
||||
.background()
|
||||
.spawn(worktree_b.update(&mut cx_b, |worktree, cx| worktree.open_buffer("a.txt", cx)));
|
||||
cx_b.update(|_| drop(worktree_b));
|
||||
cx_b.update(|_| drop(project_b));
|
||||
drop(buffer_b);
|
||||
|
||||
// See that the guest has left.
|
||||
|
|
Loading…
Reference in a new issue