mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-06 09:41:09 +08:00
Merge branch 'release/0.10.1' into development
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
- (void)finalizeLoad:(BOOL)successful {
|
||||
self.loading = NO;
|
||||
self.loaded = successful;
|
||||
|
||||
|
||||
if ([self.delegate respondsToSelector:@selector(objectLoaderDidFinishLoading:)]) {
|
||||
[(NSObject<RKObjectLoaderDelegate>*)self.delegate performSelectorOnMainThread:@selector(objectLoaderDidFinishLoading:)
|
||||
withObject:self waitUntilDone:YES];
|
||||
@@ -407,7 +407,10 @@
|
||||
object:self
|
||||
userInfo:userInfo];
|
||||
}
|
||||
[self informDelegateOfError:error];
|
||||
|
||||
if (! self.isCancelled) {
|
||||
[self informDelegateOfError:error];
|
||||
}
|
||||
|
||||
[self finalizeLoad:NO];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user