Set isRoot to true

This commit is contained in:
BaronGreenback 2021-05-21 15:07:35 +01:00
parent 224c48821e
commit d0537a3271

View File

@ -21,6 +21,15 @@ namespace MediaBrowser.Controller.Entities
{
private List<Guid> _childrenIds = null;
private readonly object _childIdsLock = new object();
/// <summary>
/// Initializes a new instance of the <see cref="UserRootFolder"/> class.
/// </summary>
public UserRootFolder()
{
IsRoot = true;
}
protected override List<BaseItem> LoadChildren()
{
lock (_childIdsLock)