Merge pull request #3035 from mark-monteiro/fix-repo-double-dispose

Do not double dispose item repository resources
This commit is contained in:
dkanada 2020-05-03 13:28:26 +09:00 committed by GitHub
commit 2bf3dee4c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,5 +375,15 @@ namespace Emby.Server.Implementations.Data
return userData; return 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)
{
}
} }
} }