The Free Software Media System - Server Backend & API
Do not double dispose write lock and connection in user data repository
Mark Monteirodaf79b8aeb0e
diff --git a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs b/Emby.Server.Implementations/Data/SqliteUserDataRepository.csindex 22955850ab..6ee6230fc6 100644--- a/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs+++ b/Emby.Server.Implementations/Data/SqliteUserDataRepository.cs@@ -375,5 +375,15 @@ namespace Emby.Server.Implementations.Datareturn userData;}++ /// <inheritdoc/>+ /// <remarks>+ /// There is nothing to dispose here since <see cref="BaseSqliteRepository.WriteLock"/> and+ /// <see cref="BaseSqliteRepository.WriteConnection"/> are managed by <see cref="SqliteItemRepository"/>.+ /// See <see cref="Initialize(IUserManager, SemaphoreSlim, SQLiteDatabaseConnection)"/>.+ /// </remarks>+ protected override void Dispose(bool dispose)+ {+ }}}