protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _movieRepo?.Dispose(); _repo?.Dispose(); } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _plexRepo?.Dispose(); _settings?.Dispose(); } _disposed = true; }
protected virtual void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _plex?.Dispose(); _emby?.Dispose(); _newsletterSettings?.Dispose(); _customizationSettings?.Dispose(); _emailSettings.Dispose(); _recentlyAddedLog.Dispose(); _templateRepo?.Dispose(); _userManager?.Dispose(); } _disposed = true; }