diff --git a/src/SkyApm.Core/Transport/AsyncQueueSkyApmLogDispatcher.cs b/src/SkyApm.Core/Transport/AsyncQueueSkyApmLogDispatcher.cs index d28898af..b29ecda6 100644 --- a/src/SkyApm.Core/Transport/AsyncQueueSkyApmLogDispatcher.cs +++ b/src/SkyApm.Core/Transport/AsyncQueueSkyApmLogDispatcher.cs @@ -84,8 +84,6 @@ public Task Flush(CancellationToken token = default) _loggerReporter.ReportAsync(loggers, token); } - Interlocked.Exchange(ref _offset, _segmentQueue.Count); - return Task.CompletedTask; } public void Close()