We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792844e commit a8132afCopy full SHA for a8132af
Parse/Internal/LocalDataStore/OfflineStore/PFOfflineStore.m
@@ -1004,7 +1004,9 @@ - (void)updateObjectIdForObject:(PFObject *)object
1004
if ([object isKindOfClass:[PFInstallation class]]
1005
&& newObjectId == nil) {
1006
NSString *key = [self _generateKeyForClassName:object.parseClassName objectId:oldObjectId];
1007
- [self.classNameAndObjectIdToObjectMap removeObjectForKey:key];
+ @synchronized(self.lock) {
1008
+ [self.classNameAndObjectIdToObjectMap removeObjectForKey:key];
1009
+ }
1010
return;
1011
}
1012
#endif
0 commit comments