Browse Source

Await host startup

Claus Vium 6 years ago
parent
commit
6263b73d9c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Emby.Server.Implementations/ApplicationHost.cs

+ 2 - 0
Emby.Server.Implementations/ApplicationHost.cs

@@ -650,6 +650,8 @@ namespace Emby.Server.Implementations
                     app.Use(ExecuteHttpHandlerAsync);
                 })
                 .Build();
+
+            await Host.StartAsync();
         }
 
         public async Task ExecuteWebsocketHandlerAsync(HttpContext context, Func<Task> next)