Remove unnecessary async and parameter from ApplicationHost initialization method

This commit is contained in:
Mark Monteiro
2020-04-04 20:40:50 -04:00
parent 5d648bf54f
commit aee6a1b476
3 changed files with 5 additions and 7 deletions

View File

@@ -202,7 +202,7 @@ namespace Jellyfin.Server
}
ServiceCollection serviceCollection = new ServiceCollection();
await appHost.InitAsync(serviceCollection, startupConfig).ConfigureAwait(false);
appHost.Init(serviceCollection);
var webHost = CreateWebHostBuilder(appHost, serviceCollection, options, startupConfig, appPaths).Build();