Merge pull request #2274 from zed-industries/leave-on-quit
Leave room on quit
This commit is contained in:
commit
f6f09e8661
10 changed files with 104 additions and 44 deletions
|
@ -1064,7 +1064,10 @@ impl Workspace {
|
|||
if answer == Some(1) {
|
||||
return anyhow::Ok(false);
|
||||
} else {
|
||||
active_call.update(&mut cx, |call, cx| call.hang_up(cx))?;
|
||||
active_call
|
||||
.update(&mut cx, |call, cx| call.hang_up(cx))
|
||||
.await
|
||||
.log_err();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue