Skip to content

Commit

Permalink
Incorporate changes from parse-community#1589
Browse files Browse the repository at this point in the history
  • Loading branch information
eeallen1 committed Jun 10, 2021
1 parent fc39f46 commit af7215b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Parse/Parse/PFObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ + (BFTask *)_enqueue:(BFTask *(^)(BFTask *toAwait))taskStart forObjects:(NSArray
+ (BOOL)collectDirtyChildren:(id)node
children:(NSMutableSet *)dirtyChildren
files:(NSMutableSet *)dirtyFiles
seen:(NSSet *)seen
seen:(NSMutableSet *)seen
seenNew:(NSSet *)seenNew
currentUser:(PFUser *)currentUser
error:(NSError * __autoreleasing *)error {
Expand Down Expand Up @@ -288,7 +288,7 @@ + (BOOL)collectDirtyChildren:(id)node
if ([seen containsObject:object]) {
return YES;
}
seen = [seen setByAddingObject:object];
[seen addObject:object];

// Recurse into this object's children looking for dirty children.
// We only need to look at the child object's current estimated data,
Expand Down Expand Up @@ -330,7 +330,7 @@ + (BOOL)collectDirtyChildren:(id)child
return [self collectDirtyChildren:child
children:dirtyChildren
files:dirtyFiles
seen:[NSSet set]
seen:[NSMutableSet set]
seenNew:[NSSet set]
currentUser:currentUser
error:error];
Expand Down Expand Up @@ -2805,4 +2805,4 @@ + (void)deleteAllInBackground:(NSArray<PFObject *> *)objects target:(nullable id
}];
}

@end
@end

0 comments on commit af7215b

Please sign in to comment.