Skip to content

Commit

Permalink
Merge 4fdd54b into 47b254b
Browse files Browse the repository at this point in the history
  • Loading branch information
senegalo authored Nov 9, 2023
2 parents 47b254b + 4fdd54b commit fc5dd11
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,9 @@ public void finishBundle(FinishBundleContext context) {

// send remaining
try {
/** @todo handle exception properly * */
createRequest();
if (!batch.isEmpty()) {
createRequest();
}
if (!futures.isEmpty()) {
// Block until all pending futures are complete
waitForFutures(futures.values());
Expand Down

0 comments on commit fc5dd11

Please sign in to comment.