Browse Source

Await host startup

Claus Vium 6 năm trước cách đây
mục cha
commit
6263b73d9c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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)