Skip to content

Commit

Permalink
AbstractSubscription#onError must call the onError method of the obse…
Browse files Browse the repository at this point in the history
…rver

JAVARS-216
  • Loading branch information
jstewart148 authored and jyemin committed Nov 4, 2019
1 parent 234532c commit 6e06585
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ boolean checkCompleted() {

@Override
void postTerminate() {
if (batchCursor != null) {
batchCursor.close();
try {
if (batchCursor != null) {
batchCursor.close();
}
} catch (Exception e) {
// do nothing
}
}

Expand Down

0 comments on commit 6e06585

Please sign in to comment.