aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Program.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-02-23 17:30:24 +0100
committerBond_009 <bond.009@outlook.com>2021-02-23 17:30:24 +0100
commit032d72a8a7a1c3884d07b0f3b7bd93790988d414 (patch)
treec4502d8a2de6723cdef37e2ac35246c0ed7df052 /Jellyfin.Server/Program.cs
parentacac21d8dc3eb9383136ff692606dc2f65adf405 (diff)
Pls fix race condition
Diffstat (limited to 'Jellyfin.Server/Program.cs')
-rw-r--r--Jellyfin.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Program.cs b/Jellyfin.Server/Program.cs
index f05cdfe9b..81199c775 100644
--- a/Jellyfin.Server/Program.cs
+++ b/Jellyfin.Server/Program.cs
@@ -202,7 +202,7 @@ namespace Jellyfin.Server
throw;
}
- await appHost.RunStartupTasksAsync().ConfigureAwait(false);
+ await appHost.RunStartupTasksAsync(_tokenSource.Token).ConfigureAwait(false);
stopWatch.Stop();