Only leave room on connections that are associated with the active call
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
4ef69c8361
commit
0491747eed
3 changed files with 21 additions and 7 deletions
|
@ -477,6 +477,10 @@ impl Server {
|
|||
let mut contacts_to_update = HashSet::default();
|
||||
{
|
||||
let mut store = self.store().await;
|
||||
|
||||
#[cfg(test)]
|
||||
let removed_connection = store.remove_connection(connection_id).unwrap();
|
||||
#[cfg(not(test))]
|
||||
let removed_connection = store.remove_connection(connection_id)?;
|
||||
|
||||
for project in removed_connection.hosted_projects {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue