diff options
| author | Daniyar Alpyspayev <daniyara@thereachagency.com> | 2024-12-12 18:10:06 +0500 |
|---|---|---|
| committer | Daniyar Alpyspayev <daniyara@thereachagency.com> | 2024-12-12 18:10:06 +0500 |
| commit | 2614fecf8df6e04b0d0a2b33722923c239ed0f91 (patch) | |
| tree | 815c5c68d5403423e28a6daf29fe09b1f0b361e5 /Emby.Server.Implementations/Updates/InstallationManager.cs | |
| parent | b89877554cf1a655251958e19439926ac99c91f7 (diff) | |
move to new System.Threading.Lock type for better performance
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index ce3d6cab8..c4d697be5 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -48,7 +48,7 @@ namespace Emby.Server.Implementations.Updates /// </summary> /// <value>The application host.</value> private readonly IServerApplicationHost _applicationHost; - private readonly object _currentInstallationsLock = new object(); + private readonly Lock _currentInstallationsLock = new(); /// <summary> /// The current installations. |
