diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index 08cd2ef..787eb03 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -91,7 +91,7 @@ namespace Recyclable.Collections int blockSize = _blockSize, targetItemIdx = _nextItemIndex, targetBlockIdx = _lastBlockIndex; - IEnumerator enumerator = source.GetEnumerator(); + using IEnumerator enumerator = source.GetEnumerator(); if (!enumerator.MoveNext()) { return;