aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LiveTvController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-17 15:03:45 -0600
committercrobibero <cody@robibe.ro>2020-08-17 15:03:45 -0600
commitbe67528958fc225d9af17cc34da87a613fb07cc9 (patch)
tree9d164920166920e790d788eacaf89de62374afea /Jellyfin.Api/Controllers/LiveTvController.cs
parent3a91047413d6185c6c18f08a15f94b84be992d32 (diff)
add disposal docs
Diffstat (limited to 'Jellyfin.Api/Controllers/LiveTvController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LiveTvController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs
index 2838361d7..97a88bc14 100644
--- a/Jellyfin.Api/Controllers/LiveTvController.cs
+++ b/Jellyfin.Api/Controllers/LiveTvController.cs
@@ -1071,6 +1071,7 @@ namespace Jellyfin.Api.Controllers
{
var client = _httpClientFactory.CreateClient();
// https://json.schedulesdirect.org/20141201/available/countries
+ // Can't dispose the response as it's required up the call chain.
var response = await client.GetAsync("https://json.schedulesdirect.org/20141201/available/countries")
.ConfigureAwait(false);