aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/UserRootFolder.cs
diff options
context:
space:
mode:
authorDaniyar Alpyspayev <daniyara@thereachagency.com>2024-12-12 18:10:06 +0500
committerDaniyar Alpyspayev <daniyara@thereachagency.com>2024-12-12 18:10:06 +0500
commit2614fecf8df6e04b0d0a2b33722923c239ed0f91 (patch)
tree815c5c68d5403423e28a6daf29fe09b1f0b361e5 /MediaBrowser.Controller/Entities/UserRootFolder.cs
parentb89877554cf1a655251958e19439926ac99c91f7 (diff)
move to new System.Threading.Lock type for better performance
Diffstat (limited to 'MediaBrowser.Controller/Entities/UserRootFolder.cs')
-rw-r--r--MediaBrowser.Controller/Entities/UserRootFolder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/UserRootFolder.cs b/MediaBrowser.Controller/Entities/UserRootFolder.cs
index a687adedd..65d81b23e 100644
--- a/MediaBrowser.Controller/Entities/UserRootFolder.cs
+++ b/MediaBrowser.Controller/Entities/UserRootFolder.cs
@@ -21,7 +21,7 @@ namespace MediaBrowser.Controller.Entities
/// </summary>
public class UserRootFolder : Folder
{
- private readonly object _childIdsLock = new object();
+ private readonly Lock _childIdsLock = new();
private List<Guid> _childrenIds = null;
/// <summary>