Skip to content

Commit

Permalink
Try #2725:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Aug 27, 2021
2 parents f6b42b8 + e4706b9 commit a7b88b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/bevy_tasks/src/task_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ impl TaskPool {

if scope.spawned.is_empty() {
Vec::default()
} else if scope.spawned.len() == 1 {
vec![future::block_on(&mut scope.spawned[0])]
} else {
let fut = async move {
let mut results = Vec::with_capacity(scope.spawned.len());
Expand Down

0 comments on commit a7b88b4

Please sign in to comment.