Fixed: Don't process downloads removed from the client

Fixes #3557
This commit is contained in:
Mark McDowall 2020-03-03 20:32:06 -08:00 committed by Mark McDowall
parent c862fd9ff6
commit 7f7d196e44
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ namespace NzbDrone.Core.Download
public void Execute(ProcessMonitoredDownloadsCommand message)
{
var enableCompletedDownloadHandling = _configService.EnableCompletedDownloadHandling;
var trackedDownloads = _trackedDownloadService.GetTrackedDownloads();
var trackedDownloads = _trackedDownloadService.GetTrackedDownloads()
.Where(t => t.IsTrackable)
.ToList();
foreach (var trackedDownload in trackedDownloads)
{