1
0
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:
Leonardo Galli
2018-12-02 18:05:58 +01:00
parent d38562664d
commit 8e7b718209
34 changed files with 2162 additions and 2071 deletions
@@ -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)