Reduce string allocations/fs lookups in resolve code

This commit is contained in:
Bond_009
2021-04-22 01:23:24 +02:00
parent 95ab603a40
commit b323044139
6 changed files with 29 additions and 51 deletions

View File

@@ -271,7 +271,6 @@ namespace MediaBrowser.Controller.Entities
var args = new ItemResolveArgs(ConfigurationManager.ApplicationPaths, directoryService)
{
FileInfo = FileSystem.GetDirectoryInfo(path),
Path = path,
Parent = GetParent() as Folder,
CollectionType = CollectionType
};