Fixed: Don't process downloads removed from the client

Fixes #3557
pull/3684/head
Mark McDowall 5 years ago committed by Mark McDowall
parent c862fd9ff6
commit 7f7d196e44

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

Loading…
Cancel
Save