mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-14 16:11:23 +02:00
Do not double dispose write lock and connection in user data repository
This commit is contained in:
parent
f81833693d
commit
daf79b8aeb
1 changed files with 10 additions and 0 deletions
|
|
@ -375,5 +375,15 @@ namespace Emby.Server.Implementations.Data
|
|||
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue