Skip to content

Commit

Permalink
Fix #455
Browse files Browse the repository at this point in the history
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
  • Loading branch information
manoelcampos committed Jul 7, 2023
1 parent f6c2236 commit a48432a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private Optional<CloudletTask> getNextTaskIfCurrentIfFinished(){

@Override
public boolean isFinished() {
final boolean allTasksFinished = tasks.stream().allMatch(CloudletTask::isFinished);
final boolean allTasksFinished = tasks == null || tasks.stream().allMatch(CloudletTask::isFinished);
return super.isFinished() && allTasksFinished;
}

Expand Down

0 comments on commit a48432a

Please sign in to comment.