Skip to content

Commit 232e090

Browse files
committed
Fix Memory (event handlers) leak of ColumnInfoCollection objects
1 parent 29d716d commit 232e090

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Orm/Xtensive.Orm/Orm/Model/FieldInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2007-2021 Xtensive LLC.
1+
// Copyright (C) 2007-2022 Xtensive LLC.
22
// This code is distributed under MIT license terms.
33
// See the License.txt file in the project root for more information.
44
// Created by: Dmitri Maximov
@@ -627,6 +627,7 @@ public ColumnInfoCollection Columns
627627

628628
var result = new ColumnInfoCollection(this, "Columns");
629629
GetColumns(result);
630+
columns = result;
630631
return result;
631632
}
632633
}

0 commit comments

Comments
 (0)