Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fixup! Use AppContext instead of AsyncWindowContext to quit
Piotr Osiewicz30af3ffaf39c
diff --git a/crates/workspace2/src/workspace2.rs b/crates/workspace2/src/workspace2.rsindex 135a7136617..a649a8696a0 100644--- a/crates/workspace2/src/workspace2.rs+++ b/crates/workspace2/src/workspace2.rs@@ -343,8 +343,8 @@ impl CallHandler for TestCallHandler {None}- fn hang_up(&self, cx: AsyncWindowContext) -> Result<Task<Result<()>>> {- anyhow::bail!("TestCallHandler should not be hanging up")+ fn hang_up(&self, cx: &mut AppContext) -> Task<Result<()>> {+ Task::ready(Err(anyhow!("TestCallHandler should not be hanging up")))}fn active_project(&self, cx: &AppContext) -> Option<WeakModel<Project>> {