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 0e51b0a commit f69ab58Copy full SHA for f69ab58
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