mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
last fix for deleted job didn't work, this should fix it.
This commit is contained in:
parent
08a5b28f40
commit
ce8713d953
2 changed files with 25 additions and 4 deletions
|
@ -76,7 +76,7 @@ namespace NzbDrone.Core.Jobs
|
|||
|
||||
foreach (var currentJob in currentJobs)
|
||||
{
|
||||
if (!_jobs.Any(c => c.Name == currentJob.Name))
|
||||
if (!_jobs.Any(c => c.GetType().ToString() == currentJob.TypeName))
|
||||
{
|
||||
logger.Debug("Removing job from database '{0}'", currentJob.Name);
|
||||
_database.Delete(currentJob);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue