mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 06:05:19 +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
|
||||
}
|
||||
|
||||
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>> {
|
||||
|
|
Loading…
Reference in a new issue