forgot a lock

pull/702/head
ebr11 Eric Reed spam 13 years ago
parent 2c563ac92f
commit 442081f4e2

@ -303,6 +303,7 @@ namespace MediaBrowser.Controller.Entities
/// </summary>
public IEnumerable<BaseItem> GetChildren(User user)
{
lock(childLock)
return ActualChildren.Where(c => c.IsParentalAllowed(user));
}

@ -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…
Cancel
Save