protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _ctx?.Dispose(); _lidarrSettings?.Dispose(); } _disposed = true; }