Skip to content

Commit

Permalink
Fix issue jonreid#109 around thread safety
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Sep 12, 2015
1 parent 008bdd4 commit 71df245
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/OCMockito/Core/MKTMockingProgress.m
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,12 @@ - (MKTInvocationMatcher *)pullInvocationMatcher
return result;
}

- (void)setOngoingStubbing:(MKTOngoingStubbing *)ongoingStubbing
{
@synchronized (self)
{
_ongoingStubbing = ongoingStubbing;
}
}

@end

0 comments on commit 71df245

Please sign in to comment.