It's possible to attempt to create a child context of the mainQueueContext (on a different thread) after the NSManagedObjectContext is initialized, but not before its parent context is set. This becomes likely since [self privateQueueContext] can take a long time to finish. This change prevents that race condition.
It's possible to attempt to create a child context of the mainQueueContext (on a different thread) after the NSManagedObjectContext is initialized, but not before its parent context is set. This becomes likely since [self privateQueueContext] can take a long time to finish. This change prevents that race condition.