diff --git a/Recyclable.Collections/RecyclableList.cs b/Recyclable.Collections/RecyclableList.cs index 1bd6214..5e86217 100644 --- a/Recyclable.Collections/RecyclableList.cs +++ b/Recyclable.Collections/RecyclableList.cs @@ -431,6 +431,11 @@ namespace Recyclable.Collections [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { + if (_count == 0) + { + return; + } + if (NeedsClearing) { Array.Clear(_memoryBlock, 0, _count);