Skip to content
Snippets Groups Projects
Commit 8ad304ba authored by Muxi Yan's avatar Muxi Yan
Browse files

Fix a bug when setting GRPCCall.state = GRXWriterStateFinished

parent 34949db4
No related branches found
No related tags found
No related merge requests found
...@@ -185,9 +185,6 @@ static NSString * const kBearerPrefix = @"Bearer "; ...@@ -185,9 +185,6 @@ static NSString * const kBearerPrefix = @"Bearer ";
- (void)finishWithError:(NSError *)errorOrNil { - (void)finishWithError:(NSError *)errorOrNil {
@synchronized(self) { @synchronized(self) {
if (_state == GRXWriterStateFinished) {
return;
}
_state = GRXWriterStateFinished; _state = GRXWriterStateFinished;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment