Unnecessary _capacity assignment removed. It's already set by RecyclableList.Clear.
This commit is contained in:
1 parent
d07c77c906
commit
650a63828f
1 file changed
-1
@@ -539,7 +539,6 @@ namespace Recyclable.Collections
|
||||
if (_capacity > 0)
|
||||
{
|
||||
Clear();
|
||||
_capacity = 0;
|
||||
if (_memoryBlocks.Length >= RecyclableDefaults.MinPooledArrayLength)
|
||||
{
|
||||
_memoryBlocksPool.Return(_memoryBlocks);
|
||||
|
||||
Reference in new issue
Block a user