Skip to content

Commit

Permalink
Merge pull request #139 from elandau/bugfix/grpc_server_onCancel
Browse files Browse the repository at this point in the history
Add back releasing limit in gRPC's onCancel
  • Loading branch information
elandau authored Jul 17, 2019
2 parents 9414389 + b3c5f2b commit 8965911
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 8965911

Please sign in to comment.