HHH-13897 ResultSetProcessingContextImpl: no need to clear collections before discarding the reference to them
This commit is contained in:
parent
8c6f8025e3
commit
486addab0c
|
@ -322,12 +322,10 @@ public class ResultSetProcessingContextImpl implements ResultSetProcessingContex
|
|||
createSubselects();
|
||||
|
||||
if ( hydratedEntityRegistrationList != null ) {
|
||||
hydratedEntityRegistrationList.clear();
|
||||
hydratedEntityRegistrationList = null;
|
||||
}
|
||||
|
||||
if ( subselectLoadableEntityKeyMap != null ) {
|
||||
subselectLoadableEntityKeyMap.clear();
|
||||
subselectLoadableEntityKeyMap = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue