mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-17 11:43:44 +01:00
Remove some allocations (#7246)
This commit is contained in:
@@ -388,7 +388,7 @@ namespace MediaBrowser.Providers.Manager
|
||||
/// <returns><c>true</c> if changes were made to the item; otherwise <c>false</c>.</returns>
|
||||
public bool MergeImages(BaseItem item, IReadOnlyList<LocalImageInfo> images)
|
||||
{
|
||||
var changed = item.ValidateImages(new DirectoryService(_fileSystem));
|
||||
var changed = item.ValidateImages();
|
||||
|
||||
for (var i = 0; i < _singularImages.Length; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user