Don’t retain self here!

pull/2861/head
Jorge Canizales 9 years ago
parent 297ed7bd81
commit 578ab166ad
  1. 2
      src/objective-c/GRPCClient/GRPCCall.m

@ -250,7 +250,7 @@ NSString * const kGRPCStatusMetadataKey = @"io.grpc.StatusMetadataKey";
// Resume the request writer.
GRPCCall *strongSelf = weakSelf;
if (strongSelf) {
@synchronized(_requestWriter) {
@synchronized(strongSelf->_requestWriter) {
strongSelf->_requestWriter.state = GRXWriterStateStarted;
}
}

Loading…
Cancel
Save