1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

Fixed: A lot of memory issues, such as IDisposable leakage and leaking all the media covers. (#3227)

Thanks again to @Taloth
This commit is contained in:
Leonardo Galli
2019-01-10 08:36:34 +01:00
committed by GitHub
50 changed files with 515 additions and 386 deletions
@@ -30,12 +30,12 @@ namespace NzbDrone.Core.NetImport.ImportExclusions
public bool IsMovieExcluded(int tmdbid)
{
return Query.Where(ex => ex.TmdbId == tmdbid).Any();
return Query(q => q.Where(ex => ex.TmdbId == tmdbid).Any());
}
public ImportExclusion GetByTmdbid(int tmdbid)
{
return Query.Where(ex => ex.TmdbId == tmdbid).First();
return Query(q => q.Where(ex => ex.TmdbId == tmdbid).First());
}
}
}