aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-17 03:27:41 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-17 03:27:41 -0500
commitcc73830cd6df7049281df6e43615096a5b47ccb4 (patch)
treebd4d73aba57aa89fcb91c37a35768aa2b6d316f5 /Emby.Server.Implementations/Data
parentef490818d7246aec127bfb7722c23c2103f4bf5f (diff)
fix music album image inheritance
Diffstat (limited to 'Emby.Server.Implementations/Data')
-rw-r--r--Emby.Server.Implementations/Data/BaseSqliteRepository.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
index 206422176..64a0d889e 100644
--- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
+++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
@@ -286,7 +286,10 @@ namespace Emby.Server.Implementations.Data
{
if (_connection != null)
{
- _connection.Close();
+ using (_connection)
+ {
+
+ }
_connection = null;
}