Add stream disposal comment.

This commit is contained in:
crobibero 2020-10-29 13:58:47 -06:00
parent 3568c5f39b
commit 0c674b496f
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
var typeName = GetType().Name;
Logger.LogInformation("Opening " + typeName + " Live stream from {0}", url);
// Response stream is disposed manually.
var response = await _httpClientFactory.CreateClient(NamedClient.Default)
.GetAsync(url, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
.ConfigureAwait(false);