Explorar o código

Fix property instantiation order

cvium %!s(int64=4) %!d(string=hai) anos
pai
achega
1580bf5469
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>