Skip to content

Commit

Permalink
Fixed bug in testPingPongRPCWithV2API
Browse files Browse the repository at this point in the history
  • Loading branch information
rmstar committed Oct 3, 2019
1 parent ffab642 commit 70293be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objective-c/tests/PerfTests/PerfTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ - (void)pingPongV2APIWithRequest:(RMTStreamingOutputCallRequest *)request
messageCallback:^(id message) {
int indexCopy;
@synchronized(self) {
index += 1;
indexCopy = index;
index += 1;
}
if (indexCopy < numMessages) {
[call writeMessage:request];
Expand Down

0 comments on commit 70293be

Please sign in to comment.