mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Fixed: DataMapper not being disposed, leading to resource leakage.
This commit is contained in:
@@ -20,7 +20,7 @@ namespace NzbDrone.Core.Indexers
|
||||
|
||||
public IndexerStatus FindByIndexerId(int indexerId)
|
||||
{
|
||||
return Query.Where(c => c.IndexerId == indexerId).SingleOrDefault();
|
||||
return Query(q => q.Where(c => c.IndexerId == indexerId).SingleOrDefault());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user