mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
Fixed: DataMapper not being disposed, leading to resource leakage.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
public Config Get(string key)
|
||||
{
|
||||
return Query.Where(c => c.Key == key).SingleOrDefault();
|
||||
return Query(q => q.Where(c => c.Key == key).SingleOrDefault());
|
||||
}
|
||||
|
||||
public Config Upsert(string key, string value)
|
||||
|
||||
Reference in New Issue
Block a user