mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-26 22:24:40 +00:00
Use the main queue for the managed object context as a hack to prevent merge conflicts
This commit is contained in:
parent
ad1b9059ee
commit
2ec7d1d2f1
@ -20,7 +20,7 @@
|
|||||||
self = [super init];
|
self = [super init];
|
||||||
|
|
||||||
_appDelegate = [[UIApplication sharedApplication] delegate];
|
_appDelegate = [[UIApplication sharedApplication] delegate];
|
||||||
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
|
_managedObjectContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
|
||||||
[_managedObjectContext setPersistentStoreCoordinator:_appDelegate.persistentStoreCoordinator];
|
[_managedObjectContext setPersistentStoreCoordinator:_appDelegate.persistentStoreCoordinator];
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user