Fix deadlock in db get_room

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Julia
2023-02-22 11:21:23 -05:00
co-authored by Max Brunsfeld
parent 33c265d3cf
commit 4ffc8cd9fd
+2 -1
View File
@@ -1996,7 +1996,8 @@ impl Database {
}
}
}
}
}
drop(db_projects);
let mut db_followers = db_room.find_related(follower::Entity).stream(tx).await?;
let mut followers = Vec::new();