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 a314c5d commit bee0310Copy full SHA for bee0310
Parse/src/main/java/com/parse/OfflineStore.java
@@ -1462,7 +1462,9 @@ public Integer then(Task<List<T>> task) throws Exception {
1462
*/
1463
if (object instanceof ParseInstallation
1464
&& newObjectId == null) {
1465
- classNameAndObjectIdToObjectMap.remove(Pair.create(object.getClassName(), oldObjectId));
+ synchronized (lock) {
1466
+ classNameAndObjectIdToObjectMap.remove(Pair.create(object.getClassName(), oldObjectId));
1467
+ }
1468
return;
1469
} else {
1470
throw new RuntimeException("objectIds cannot be changed in offline mode.");
0 commit comments