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

Commit

Permalink
chore: release gapic-generator-java v1.0.17 (#484)
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 388499329

Source-Link: googleapis/googleapis@bb0a090

Source-Link: googleapis/googleapis-gen@d196f38
  • Loading branch information
gcf-owl-bot[bot] committed Aug 4, 2021
1 parent c943094 commit cfef81c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,13 @@ public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {

@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
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,13 @@ public UnaryCallable<ListSkusRequest, ListSkusPagedResponse> listSkusPagedCallab

@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

0 comments on commit cfef81c

Please sign in to comment.