Skip to content

Commit

Permalink
Add back releasing limit in gRPC's onCancel
Browse files Browse the repository at this point in the history
  • Loading branch information
elandau committed Jul 17, 2019
1 parent 9414389 commit b3c5f2b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,16 @@ public void onHalfClose() {
throw t;
}
}

@Override
public void onCancel() {
try {
super.onCancel();
} finally {
safeComplete(listener::onDropped);
}
}

};
}
})
Expand Down

0 comments on commit b3c5f2b

Please sign in to comment.