Skip to content

Commit

Permalink
(fix) decrement pendingOperations instead of setting it to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovic Marcotte committed Dec 18, 2019
1 parent b95bc31 commit 83b30d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ new:
}

if (this.remainingUploads == 0) {
this.pendingOperations = 0;
this.pendingOperations--;
// dump("decreasing 11 pendingOperations...\n");
this.checkCallback();
}
Expand Down

0 comments on commit 83b30d9

Please sign in to comment.