Skip to content

Commit f69ab58

Browse files
Update src/Middleware/OutputCaching/src/OutputCacheEntry.cs
Co-authored-by: Brennan <[email protected]>
1 parent 0e51b0a commit f69ab58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Middleware/OutputCaching/src/OutputCacheEntry.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public void Dispose()
8282
RecyclableReadOnlySequenceSegment.RecycleChain(body, _recycleBuffers);
8383
// ^^ note that this only recycles the chain, not the actual buffers
8484
}
85-
static void Recycle<T>(ReadOnlyMemory<T> value)
85+
86+
private static void Recycle<T>(ReadOnlyMemory<T> value)
8687
{
8788
if (MemoryMarshal.TryGetArray<T>(value, out var segment) && segment.Array is { Length: > 0 })
8889
{

0 commit comments

Comments
 (0)