Await host startup

This commit is contained in:
Claus Vium 2019-03-03 14:30:41 +01:00
parent 1cc433eabc
commit 6263b73d9c

View file

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