public override void Dispose() { _lastAuth.Dispose(); _albumApi?.Dispose(); _artistApi?.Dispose(); _chartApi?.Dispose(); _libraryApi?.Dispose(); _scrobbler?.Dispose(); _tagApi?.Dispose(); _trackApi?.Dispose(); _userApi?.Dispose(); base.Dispose(); }
public override void Dispose() { _lastAuth.Dispose(); if (_albumApi != null) { _albumApi.Dispose(); } if (_artistApi != null) { _artistApi.Dispose(); } if (_chartApi != null) { _chartApi.Dispose(); } if (_libraryApi != null) { _libraryApi.Dispose(); } if (_scrobbler != null) { _scrobbler.Dispose(); } if (_tagApi != null) { _tagApi.Dispose(); } if (_trackApi != null) { _trackApi.Dispose(); } if (_userApi != null) { _userApi.Dispose(); } base.Dispose(); }