diff --git a/Code/Core/NGS.Utility/Streams/ChunkedMemoryStream.cs b/Code/Core/NGS.Utility/Streams/ChunkedMemoryStream.cs index 58365d44..52ede5d7 100644 --- a/Code/Core/NGS.Utility/Streams/ChunkedMemoryStream.cs +++ b/Code/Core/NGS.Utility/Streams/ChunkedMemoryStream.cs @@ -389,11 +389,7 @@ protected override void Dispose(bool disposing) MemoryPool.Push(this); CurrentEstimate++; } - else - { - Blocks.RemoveRange(1, Blocks.Count - 1); - CurrentEstimate = MemoryPool.Count; - } + else CurrentEstimate = MemoryPool.Count; } } }