Remove some allocations (#7246)

This commit is contained in:
Claus Vium
2022-01-28 12:21:40 +01:00
committed by GitHub
parent 42724ef411
commit 488ce51032
7 changed files with 52 additions and 39 deletions

View File

@@ -419,7 +419,7 @@ namespace MediaBrowser.Controller.Entities
return updateType;
}
protected override async Task<bool> RefreshedOwnedItems(MetadataRefreshOptions options, List<FileSystemMetadata> fileSystemChildren, CancellationToken cancellationToken)
protected override async Task<bool> RefreshedOwnedItems(MetadataRefreshOptions options, IReadOnlyList<FileSystemMetadata> fileSystemChildren, CancellationToken cancellationToken)
{
var hasChanges = await base.RefreshedOwnedItems(options, fileSystemChildren, cancellationToken).ConfigureAwait(false);