Added missing cell clear to release the requested array, if needed.

This commit is contained in:
mlemanczyk committed 2023-04-18 00:21:01 +02:00
1 parent 5ac21f5d18
commit 79cb86fbce
1 file changed
+1
+1
View File
@@ -873,6 +873,7 @@ namespace Recyclable.Collections
if (_blockSize >= RecyclableDefaults.MinPooledArrayLength)
{
_blockArrayPool.Return(_memoryBlocks[index], NeedsClearing);
_memoryBlocks[index] = _emptyBlockArray;
}
else
{