Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

:lipstick:

Antonio Scandurra0a565c6bae9e
diff --git a/crates/collab/src/db.rs b/crates/collab/src/db.rs
index 84ad5082d01..eff97855c6a 100644
--- a/crates/collab/src/db.rs
+++ b/crates/collab/src/db.rs
@@ -2598,13 +2598,7 @@ where
background.simulate_random_delay().await;
}
- let result = self.runtime.as_ref().unwrap().block_on(body);
-
- // if let Some(background) = self.background.as_ref() {
- // background.simulate_random_delay().await;
- // }
-
- result
+ self.runtime.as_ref().unwrap().block_on(body)
}
#[cfg(not(test))]