mirror of https://github.com/grpc/grpc-java.git
stub: release server-streaming reference on request after method call
This commit is contained in:
parent
53a3f12666
commit
f631b3d249
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue