Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
fix: make closeAsync don't interrupt running thread (#1446)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf committed Aug 5, 2021
1 parent 4fb5a6c commit 7c6c298
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public ApiFuture<Void> closeAsync() {
}

// Clean up accounting
scheduledFuture.cancel(true);
scheduledFuture.cancel(false);
currentBatcherReference.closed = true;
currentBatcherReference.clear();

Expand Down

0 comments on commit 7c6c298

Please sign in to comment.