aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-08-08 17:11:43 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-08-08 17:11:43 -0700
commit578ab166adc49f3d8c1fccdb1f5a364e7011c8ec (patch)
tree72b1d0f8f79c0fabc0a7296e649d4ca589efd497 /src
parent297ed7bd81ba5a8e607f278713fb0facc9475b91 (diff)
Don’t retain self here!
Diffstat (limited to 'src')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m
index 6836d34394..0f4c811ce4 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/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;
}
}