/// <summary> /// /// </summary> public void Clear() { lock (_syncRoot) { _storage.Clear(); } }
/// <inheritdoc /> public void Dispose() { // https://github.com/Kittyfisto/Tailviewer/issues/282 _listeners.Clear(); _properties.Clear(); lock (_syncRoot) { _logBuffer.Clear(); } }
protected override void DisposeAdditional() { lock (_syncRoot) { _entries.Clear(); _localProperties.Clear(); _properties.Clear(); } base.DisposeAdditional(); }
/// <inheritdoc /> protected override void DisposeAdditional() { _source.RemoveListener(this); // https://github.com/Kittyfisto/Tailviewer/issues/282 lock (_indices) { _indices.Clear(); _indices.Capacity = 0; } _properties.Clear(); _propertiesBuffer.Clear(); }