private void ReleaseLargeBuffer()
{
if (this.memoryManager.AggressiveBufferReturn)
{
this.memoryManager.ReturnLargeBuffer(this.largeBuffer, this.tag);
}
else
{
if (this.dirtyBuffers == null)
{
// We most likely will only ever need space for one
this.dirtyBuffers = new List<byte[]>(1);
}
this.dirtyBuffers.Add(this.largeBuffer);
}
this.largeBuffer = null;
}
#endregion