Skip to content

Commit c921e5b

Browse files
author
Mike Doerfler
committed
Fixed another Cache reference for Collections. Not sure that I like the
property name for the Cache to be different between persitent Collections (CacheConcurrenctyStrategy) and persistent Clasess (Cache). There is a method in Collections.Cache() and that causes compile conflicts. SVN: trunk@518
1 parent c801226 commit c921e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Impl/SessionFactoryImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ public void Close()
650650

651651
foreach(CollectionPersister p in collectionPersisters.Values)
652652
{
653-
if ( p.HasCache ) p.Cache.Destroy();
653+
if ( p.HasCache ) p.CacheConcurrencyStrategy.Destroy();
654654
}
655655

656656
// TODO: H2.0.3

0 commit comments

Comments
 (0)