Skip to content

Commit

Permalink
fix: thread spinning almost always
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Aug 18, 2024
1 parent 13e7510 commit d078257
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected boolean hasPendingUpdates() {

@Override
protected boolean continueProcessWork() {
return this.taskSize.get() == 0 || super.continueProcessWork();
return this.taskSize.get() != 0 || super.continueProcessWork();
}

@Override
Expand Down

0 comments on commit d078257

Please sign in to comment.