Fix startup message

This commit is contained in:
Claus Vium
2020-09-03 11:54:38 +02:00
parent 571d0570f5
commit 2f79c3095b
4 changed files with 18 additions and 4 deletions

View File

@@ -132,6 +132,8 @@ namespace Emby.Server.Implementations
/// </summary>
public bool CanSelfRestart => _startupOptions.RestartPath != null;
public bool CoreStartupHasCompleted { get; private set; }
public virtual bool CanLaunchWebBrowser
{
get
@@ -446,7 +448,7 @@ namespace Emby.Server.Implementations
Logger.LogInformation("Executed all pre-startup entry points in {Elapsed:g}", stopWatch.Elapsed);
Logger.LogInformation("Core startup complete");
CoreStartupHasCompleted = true;
stopWatch.Restart();
await Task.WhenAll(StartEntryPoints(entryPoints, false)).ConfigureAwait(false);
Logger.LogInformation("Executed all post-startup entry points in {Elapsed:g}", stopWatch.Elapsed);