mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 20:01:33 +00:00
Apply worktree updates in the order they were received
This commit is contained in:
parent
5a7d391d73
commit
7b9ff42679
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ impl RemoteWorktree {
|
|||
) -> Result<()> {
|
||||
let mut tx = self.updates_tx.clone();
|
||||
let payload = envelope.payload.clone();
|
||||
cx.background()
|
||||
cx.foreground()
|
||||
.spawn(async move {
|
||||
tx.send(payload).await.expect("receiver runs to completion");
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue