HHH-7644 Correct memory leak
This commit is contained in:
parent
fe57a0c636
commit
59453919c7
|
@ -296,6 +296,7 @@ public class PersistentMap extends AbstractPersistentCollection implements Map {
|
||||||
for ( Object[] entry : loadingEntries ) {
|
for ( Object[] entry : loadingEntries ) {
|
||||||
map.put( entry[0], entry[1] );
|
map.put( entry[0], entry[1] );
|
||||||
}
|
}
|
||||||
|
loadingEntries = null;
|
||||||
}
|
}
|
||||||
return super.endRead();
|
return super.endRead();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue