aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-01-22 15:46:19 -0700
committerGitHub <noreply@github.com>2022-01-22 15:46:19 -0700
commit3c746f27435a35911635c0ed1382305a1a636c6a (patch)
tree53e7d09d948c12cc1d6062c1abeede4de07f2964 /Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs
parentda4943754914a625efabbdbb08f3cfb6b0e2b770 (diff)
parent832da133d820a5886904e7ea6480dfa029d6f5e8 (diff)
Merge pull request #7236 from Bond-009/taskcompletionsource
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs')
-rw-r--r--Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs
index ab4beb15b6..e84e1e074c 100644
--- a/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs
+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/SharedHttpStream.cs
@@ -73,7 +73,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
SetTempFilePath("ts");
- var taskCompletionSource = new TaskCompletionSource<bool>();
+ var taskCompletionSource = new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously);
_ = StartStreaming(response, taskCompletionSource, LiveStreamCancellationTokenSource.Token);