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

chore: release gapic-generator-java v1.0.17 #259

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,13 @@ public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down