diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-02-03 22:34:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-03 22:34:40 -0500 |
| commit | 20033f2275361ed4d46df77da0694f8f7dc3f04f (patch) | |
| tree | 958ec85809d478ad3088d101365f1695e6ba617f /Jellyfin.Server/Program.cs | |
| parent | be89d53a9e16e16f434c35e22814f1d9fe3fc16d (diff) | |
| parent | c4c0894b29898ab6826542abc7a247291b46f804 (diff) | |
Merge branch 'master' into fix-env
Diffstat (limited to 'Jellyfin.Server/Program.cs')
| -rw-r--r-- | Jellyfin.Server/Program.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs index bb0eff291..7826fde35 100644 --- a/Jellyfin.Server/Program.cs +++ b/Jellyfin.Server/Program.cs @@ -114,12 +114,10 @@ namespace Jellyfin.Server new NullImageEncoder(), new NetworkManager(_loggerFactory, environmentInfo))) { - appHost.Init(); + await appHost.Init(); appHost.ImageProcessor.ImageEncoder = GetImageEncoder(fileSystem, appPaths, appHost.LocalizationManager); - _logger.LogInformation("Running startup tasks"); - await appHost.RunStartupTasks(); // TODO: read input for a stop command @@ -133,8 +131,6 @@ namespace Jellyfin.Server { // Don't throw on cancellation } - - _logger.LogInformation("Disposing app host"); } if (_restartOnShutdown) |
