internal void Stop() { if (logStatistics != null) { logStatistics.Stop(); logStatistics.DumpCounters().WaitWithThrow(TimeSpan.FromSeconds(10)); } logStatistics = null; }
internal void Stop() { runtimeStats?.Stop(); runtimeStats = null; if (logStatistics != null) { logStatistics.Stop(); logStatistics.DumpCounters().WaitWithThrow(TimeSpan.FromSeconds(10)); } logStatistics = null; tableStatistics?.Dispose(); tableStatistics = null; }