Fixed saveKey getting unset and some MOC threading issues.
[FIXED] Don't unset saveKey when loading the key fails.
This causes saveKey to fail as soon as it's synced to a device that hasn't saved the key yet.
[FIXED] A bunch of threading violation issues with thread-confined MOCs.
This commit is contained in:
@@ -21,8 +21,8 @@ typedef enum {
|
||||
@interface MPAppDelegate_Shared(Store)<UbiquityStoreManagerDelegate>
|
||||
|
||||
+ (NSManagedObjectContext *)managedObjectContextForThreadIfReady;
|
||||
+ (BOOL)managedObjectContextPerformBlock:(void (^)(NSManagedObjectContext *moc))mocBlock;
|
||||
+ (BOOL)managedObjectContextPerformBlockAndWait:(void (^)(NSManagedObjectContext *))mocBlock;
|
||||
+ (BOOL)managedObjectContextPerformBlock:(void (^)(NSManagedObjectContext *context))mocBlock;
|
||||
+ (BOOL)managedObjectContextPerformBlockAndWait:(void (^)(NSManagedObjectContext *context))mocBlock;
|
||||
|
||||
- (UbiquityStoreManager *)storeManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user