Close remote project windows when leaving a call

This commit is contained in:
Max Brunsfeld
2023-03-15 15:24:58 -07:00
parent 385dfe1661
commit b34477458e
3 changed files with 11 additions and 0 deletions
+1
View File
@@ -275,6 +275,7 @@ impl Room {
if let Some(project) = project.upgrade(cx) {
project.update(cx, |project, cx| {
project.disconnected_from_host(cx);
project.close(cx);
});
}
}