mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 12:27:52 +08:00
Ensure managed object loader instances are finalized on failure to save managed object store. closes #721
This commit is contained in:
@@ -171,6 +171,10 @@
|
||||
[invocation setSelector:@selector(informDelegateOfError:)];
|
||||
[invocation setArgument:&error atIndex:2];
|
||||
[invocation invokeOnMainThread];
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self finalizeLoad:success];
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user