mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03:00
Remove active call data when it was accepted (#4007)
That hopefully helps with call notifications sometimes not being closed Release Notes: - N/A
This commit is contained in:
commit
3c1ed152ee
@ -282,7 +282,7 @@ impl ActiveCall {
|
||||
return Task::ready(Err(anyhow!("cannot join while on another call")));
|
||||
}
|
||||
|
||||
let call = if let Some(call) = self.incoming_call.1.borrow().clone() {
|
||||
let call = if let Some(call) = self.incoming_call.0.borrow_mut().take() {
|
||||
call
|
||||
} else {
|
||||
return Task::ready(Err(anyhow!("no incoming call")));
|
||||
|
Loading…
Reference in New Issue
Block a user