That PR wasn’t tested nor reviewed adequately.
pull/7080/head
Jorge Canizales 9 years ago
parent 5e824fa42e
commit 3785d53931
  1. 2
      src/objective-c/GRPCClient/GRPCCall.m

@ -378,7 +378,7 @@ NSString * const kGRPCTrailersKey = @"io.grpc.TrailersKey";
[strongSelf finishWithError:[NSError errorWithDomain:kGRPCErrorDomain [strongSelf finishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeUnavailable code:GRPCErrorCodeUnavailable
userInfo:@{NSLocalizedDescriptionKey: @"Connectivity lost."}]]; userInfo:@{NSLocalizedDescriptionKey: @"Connectivity lost."}]];
[[GRPCHost hostWithAddress:strongSelf->_host] discardChannel:channel]; [[GRPCHost hostWithAddress:strongSelf->_host] disconnect];
} }
}]; }];
} }

Loading…
Cancel
Save