mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-09 01:16:12 +00:00
Use the main queue for the managed object context as a hack to prevent merge conflicts
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
self = [super init];
|
||||
|
||||
_appDelegate = [[UIApplication sharedApplication] delegate];
|
||||
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
|
||||
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
|
||||
[_managedObjectContext setPersistentStoreCoordinator:_appDelegate.persistentStoreCoordinator];
|
||||
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user