소스 검색

Fix property instantiation order

cvium 4 년 전
부모
커밋
1580bf5469
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Emby.Server.Implementations/ServerApplicationPaths.cs

+ 1 - 1
Emby.Server.Implementations/ServerApplicationPaths.cs

@@ -25,11 +25,11 @@ namespace Emby.Server.Implementations
                 cacheDirectoryPath,
                 webDirectoryPath)
         {
-            InternalMetadataPath = DefaultInternalMetadataPath;
             // ProgramDataPath cannot change when the server is running, so cache these to avoid allocations.
             RootFolderPath = Path.Join(ProgramDataPath, "root");
             DefaultUserViewsPath = Path.Combine(RootFolderPath, "default");
             DefaultInternalMetadataPath = Path.Combine(ProgramDataPath, "metadata");
+            InternalMetadataPath = DefaultInternalMetadataPath;
         }
 
         /// <summary>