set saved refs to null after deleting
Some checks failed
Server / build (push) Failing after 12m15s

This commit is contained in:
2024-07-01 23:36:22 +02:00
parent 0bf0371fa3
commit 5e2afcc0a3

View File

@@ -239,6 +239,7 @@ public class JObject<T extends JObjectData> implements Serializable, Comparable<
if (!isDeleted())
throw new IllegalStateException("Expected to be deleted when discarding data");
_dataPart.set(null);
_metaPart.setSavedRefs(null);
}
static public void rwLockAll(List<JObject<?>> objects) {