We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5574b17 commit 1c4c46cCopy full SHA for 1c4c46c
src/Middleware/OutputCaching/src/OutputCacheEntry.cs
@@ -82,7 +82,8 @@ public void Dispose()
82
RecyclableReadOnlySequenceSegment.RecycleChain(body, _recycleBuffers);
83
// ^^ note that this only recycles the chain, not the actual buffers
84
}
85
- static void Recycle<T>(ReadOnlyMemory<T> value)
+
86
+ private static void Recycle<T>(ReadOnlyMemory<T> value)
87
{
88
if (MemoryMarshal.TryGetArray<T>(value, out var segment) && segment.Array is { Length: > 0 })
89
0 commit comments