Skip to content

Commit 364d6dc

Browse files
committed
A comment to solicit discussion
1 parent e309dfc commit 364d6dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/Handlebars/Collections/WeakCollection.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ public class WeakCollection<T> : IEnumerable<T> where T : class
1313

1414
public void Add(T value)
1515
{
16+
// Need a way to reset _firstAvailableIndex periodically
17+
1618
for (var index = _firstAvailableIndex; index < _store.Count; index++)
1719
{
1820
if (_store[index] == null)

0 commit comments

Comments
 (0)