mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
fixup! Use AppContext instead of AsyncWindowContext to quit
This commit is contained in:
parent
44876062c9
commit
30af3ffaf3
1 changed files with 2 additions and 2 deletions
|
@ -343,8 +343,8 @@ impl CallHandler for TestCallHandler {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
fn hang_up(&self, cx: AsyncWindowContext) -> Result<Task<Result<()>>> {
|
fn hang_up(&self, cx: &mut AppContext) -> Task<Result<()>> {
|
||||||
anyhow::bail!("TestCallHandler should not be hanging up")
|
Task::ready(Err(anyhow!("TestCallHandler should not be hanging up")))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn active_project(&self, cx: &AppContext) -> Option<WeakModel<Project>> {
|
fn active_project(&self, cx: &AppContext) -> Option<WeakModel<Project>> {
|
||||||
|
|
Loading…
Reference in a new issue