aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-04-04 20:21:48 -0400
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-04-04 20:21:48 -0400
commit5d648bf54f3c0fe503f8fdebb58a72b8c5e64673 (patch)
tree583330237281d8ca8eff7fb46dea1ece44603be8 /Jellyfin.Server/Program.cs
parentcbc0224aafa1e0a4c9d52f55e03ab944ff3b7132 (diff)
Register and construct ILocalizationManager correctly
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index 5e9c15e20..83170c6ae 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -208,7 +208,7 @@ namespace Jellyfin.Server
// Re-use the web host service provider in the app host since ASP.NET doesn't allow a custom service collection.
appHost.ServiceProvider = webHost.Services;
- appHost.InitializeServices();
+ await appHost.InitializeServices().ConfigureAwait(false);
Migrations.MigrationRunner.Run(appHost, _loggerFactory);
try