Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Invoke self instead of self.delegate in thread safe invocation from m…

…anaged object loader. refs #655
  • Loading branch information...
commit b27be1cbc561ccd7411c61db1d6a27856809e637 1 parent ac05b6d
@blakewatters blakewatters authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Code/CoreData/RKManagedObjectLoader.m
View
2  Code/CoreData/RKManagedObjectLoader.m
@@ -167,7 +167,7 @@ - (void)processMappingResult:(RKObjectMappingResult*)result {
RKLogError(@"Failed to save managed object context after mapping completed: %@", [error localizedDescription]);
NSMethodSignature* signature = [(NSObject *)self methodSignatureForSelector:@selector(informDelegateOfError:)];
RKManagedObjectThreadSafeInvocation* invocation = [RKManagedObjectThreadSafeInvocation invocationWithMethodSignature:signature];
- [invocation setTarget:self.delegate];
+ [invocation setTarget:self];
[invocation setSelector:@selector(informDelegateOfError:)];
[invocation setArgument:&error atIndex:2];
[invocation invokeOnMainThread];
Please sign in to comment.
Something went wrong with that request. Please try again.