HHH-7644 Correct memory leak

This commit is contained in:
Oleh Faizulin 2012-09-20 23:00:24 +03:00 committed by Brett Meyer
parent fe57a0c636
commit 59453919c7
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }