update components

This commit is contained in:
Luke Pulverenti
2016-12-11 00:27:08 -05:00
parent 7669e821f1
commit 71919dcc05
3 changed files with 15 additions and 57 deletions

View File

@@ -296,7 +296,7 @@ namespace Emby.Server.Implementations.Data
throw new ArgumentNullException("key");
}
using (WriteLock.Write())
using (WriteLock.Read())
{
using (var connection = CreateConnection(true))
{
@@ -349,7 +349,7 @@ namespace Emby.Server.Implementations.Data
var list = new List<UserItemData>();
using (WriteLock.Write())
using (WriteLock.Read())
{
using (var connection = CreateConnection())
{