mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 16:55:49 +00:00
Fixed: Null Ref on Album Cache Update in TrackedDownloadService.cs
This commit is contained in:
@@ -51,7 +51,8 @@ namespace NzbDrone.Core.Download.TrackedDownloads
|
||||
|
||||
public void UpdateAlbumCache(int albumId)
|
||||
{
|
||||
var updateCacheItems = _cache.Values.Where(x => x.RemoteAlbum.Albums.Any(a => a.Id == albumId)).ToList();
|
||||
|
||||
var updateCacheItems = _cache.Values.Where(x => x.RemoteAlbum != null && x.RemoteAlbum.Albums.Any(a => a.Id == albumId)).ToList();
|
||||
|
||||
foreach (var item in updateCacheItems)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user