Skip to content
Permalink
Browse files
fix: make closeAsync don't interrupt running thread (#1446)
  • Loading branch information
mutianf committed Aug 5, 2021
1 parent 4fb5a6c commit 7c6c29824487346d444730388ea6967408692696
Showing with 1 addition and 1 deletion.
  1. +1 −1 gax/src/main/java/com/google/api/gax/batching/BatcherImpl.java
@@ -328,7 +328,7 @@ public ApiFuture<Void> closeAsync() {
}

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

0 comments on commit 7c6c298

Please sign in to comment.