Change summary
crates/call/src/room.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Detailed changes
@@ -398,11 +398,11 @@ impl Room {
cx.spawn(|this, mut cx| async move {
let response = request.await?;
- project
- .update(&mut cx, |project, cx| {
- project.shared(response.project_id, cx)
- })
- .await?;
+ project.update(&mut cx, |project, cx| {
+ project
+ .shared(response.project_id, cx)
+ .detach_and_log_err(cx)
+ });
// If the user's location is in this project, it changes from UnsharedProject to SharedProject.
this.update(&mut cx, |this, cx| {