stub: release server-streaming reference on request after method call

This commit is contained in:
Vladimir Gordiychuk 2019-04-26 18:58:42 +03:00 committed by Eric Anderson
parent 53a3f12666
commit f631b3d249
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ public final class ServerCalls {
}
method.invoke(request, responseObserver);
request = null;
responseObserver.freeze();
if (call.isReady()) {
// Since we are calling invoke in halfClose we have missed the onReady