Merge pull request #19169 from HarrisonXi/master

remove notification observer to avoid iOS 8 crash
reviewable/pr19187/r1
Muxi Yan 6 years ago committed by GitHub
commit 193b7c3566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/objective-c/GRPCClient/GRPCCall.m

@ -648,6 +648,8 @@ const char *kCFStreamVarName = "grpc_cfstream";
}
- (void)dealloc {
[GRPCConnectivityMonitor unregisterObserver:self];
__block GRPCWrappedCall *wrappedCall = _wrappedCall;
dispatch_async(_callQueue, ^{
wrappedCall = nil;

Loading…
Cancel
Save