Skip to content
Permalink
Browse files

minor

  • Loading branch information...
aglv committed Nov 30, 2018
1 parent f07ad97 commit c7fbe8b5556709401e860d6f5cc28a26ad0a2b10
Showing with 1 addition and 1 deletion.
  1. +1 −1 Nitrogen/Sources/N2ManagedDatabase.mm
@@ -315,7 +315,7 @@ - (NSManagedObjectContext *)contextAtPath:(NSString *)sqlFilePath {
// [self save];

if ([sqlFilePath isEqualToString:self.sqlFilePath] && [NSFileManager.defaultManager fileExistsAtPath:sqlFilePath]) {
moc.confinementParentContext = self.managedObjectContext; // just for retain purpose
moc.confinementParentContext = (id)self.managedObjectContext; // just for retain purpose
moc.persistentStoreCoordinator = self.managedObjectContext.persistentStoreCoordinator;
}

0 comments on commit c7fbe8b

Please sign in to comment.
You can’t perform that action at this time.