Add stream disposal comment.

pull/4392/head
crobibero 4 years ago
parent 3568c5f39b
commit 0c674b496f

@ -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);

Loading…
Cancel
Save