소스 검색

Remove AsyncFile.OpenRead

cvium 3 년 전
부모
커밋
e34aa22dc1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs

+ 1 - 1
Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs

@@ -55,7 +55,7 @@ namespace Jellyfin.Server.Infrastructure
             // This may or may not be fixed in .NET 6, but looks like it will not https://github.com/dotnet/aspnetcore/issues/34371
             if ((fileInfo.Attributes & FileAttributes.ReparsePoint) == FileAttributes.ReparsePoint)
             {
-                using Stream thisFileStream = AsyncFile.OpenRead(path);
+                using Stream thisFileStream = File.OpenRead(path);
                 length = thisFileStream.Length;
             }