Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,15 @@ public final ListMediaItemsPagedResponse listMediaItems() {
public final ListSharedAlbumsPagedResponse listSharedAlbums() {
return super.listSharedAlbums(false);
}

@Override
public void close() {
super.close();
try {
uploadStub.close();
} catch (Exception e) {
// workaround to avoid to modify parent's signature. Should not be needed starting from gax v2
throw new RuntimeException(e);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,7 @@ public final UnaryCallable<UpdateMediaItemRequest, MediaItem> updateMediaItemCal
}

@Override
public final void close() {
public void close() {
stub.close();
}

Expand Down