mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +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];
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user