Fixed: Don't process downloads removed from the client

Closes #1377
pull/1689/head
Mark McDowall 5 years ago committed by Qstick
parent c996643921
commit 50d1810d36

@ -34,7 +34,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