mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-23 17:22:51 +00:00
update startup error handling
This commit is contained in:
parent
3b4975323c
commit
6647ff335f
1 changed files with 3 additions and 1 deletions
|
|
@ -244,7 +244,9 @@ namespace MediaBrowser.ServerApplication
|
|||
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue