소스 검색

Await host startup

Claus Vium 6 년 전
부모
커밋
6263b73d9c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)