Skip to content

Commit

Permalink
Reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Nov 13, 2024
1 parent a90f9bc commit d5f35df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/localQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ export class LocalQueue {
} else if (oldMode === TTL_EXPIRED) {
// No action necessary
}

if (this.backgroundCount === 0) {
this.promise.resolve();
}
Expand Down

0 comments on commit d5f35df

Please sign in to comment.