mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 13:04:01 +02:00
forgot a lock
This commit is contained in:
parent
2c563ac92f
commit
442081f4e2
2 changed files with 3 additions and 2 deletions
|
|
@ -303,7 +303,8 @@ namespace MediaBrowser.Controller.Entities
|
|||
/// </summary>
|
||||
public IEnumerable<BaseItem> GetChildren(User user)
|
||||
{
|
||||
return ActualChildren.Where(c => c.IsParentalAllowed(user));
|
||||
lock(childLock)
|
||||
return ActualChildren.Where(c => c.IsParentalAllowed(user));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ namespace MediaBrowser.Controller.Resolvers
|
|||
}
|
||||
else if (args.IsMetadataFolder)
|
||||
{
|
||||
// Don't retrieve these children here - we'll get them in the season resolver
|
||||
// I think this is redundant, but...
|
||||
resolve = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue