mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
new Artist entity
This commit is contained in:
@@ -150,6 +150,8 @@ namespace MediaBrowser.Server.Implementations.Sqlite
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
private readonly object _disposeLock = new object();
|
||||
|
||||
/// <summary>
|
||||
/// Releases unmanaged and - optionally - managed resources.
|
||||
/// </summary>
|
||||
@@ -160,7 +162,7 @@ namespace MediaBrowser.Server.Implementations.Sqlite
|
||||
{
|
||||
try
|
||||
{
|
||||
lock (this)
|
||||
lock (_disposeLock)
|
||||
{
|
||||
if (connection != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user