mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-22 21:50:36 +02:00
update startup error handling
This commit is contained in:
parent
41d551b35d
commit
29dbc95254
|
@ -244,7 +244,9 @@ namespace MediaBrowser.ServerApplication
|
||||||
|
|
||||||
|
|
||||||
var task = _appHost.Init(initProgress);
|
var task = _appHost.Init(initProgress);
|
||||||
task = task.ContinueWith(new Action<Task>(a => _appHost.RunStartupTasks()));
|
Task.WaitAll(task);
|
||||||
|
|
||||||
|
task = task.ContinueWith(new Action<Task>(a => _appHost.RunStartupTasks()), TaskContinuationOptions.OnlyOnRanToCompletion | TaskContinuationOptions.AttachedToParent);
|
||||||
|
|
||||||
if (runService)
|
if (runService)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue