mirror of https://github.com/grpc/grpc-java.git
parent
8d280c97e3
commit
c0a9d315d3
|
|
@ -195,7 +195,10 @@ abstract class RetriableStream<ReqT> implements ClientStream {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (retryFuture != null) {
|
if (retryFuture != null) {
|
||||||
retryFuture.cancel(false);
|
boolean cancelled = retryFuture.cancel(false);
|
||||||
|
if (cancelled) {
|
||||||
|
inFlightSubStreams.decrementAndGet();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (hedgingFuture != null) {
|
if (hedgingFuture != null) {
|
||||||
hedgingFuture.cancel(false);
|
hedgingFuture.cancel(false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue