From 132a1ad31bff21d2483c418d2acbf3ca5d9a05ca Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Thu, 14 Feb 2019 00:21:39 -0800 Subject: [PATCH] Remove capture of "this" from local function (#7467) --- .../Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs b/src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs index e6747579ef..c002ab7477 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs @@ -143,7 +143,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http producer._unflushedBytes = 0; // If there is an empty write, we still need to update the current chunk - _currentChunkMemoryUpdated = false; + producer._currentChunkMemoryUpdated = false; return producer._flusher.FlushAsync(producer._minResponseDataRateFeature.MinDataRate, bytesWritten, producer, token); }