Browse Source

Use ConfigureAwait in M3uParser

Patrick Barron 1 năm trước cách đây
mục cha
commit
4ec32b71f5

+ 1 - 1
Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs

@@ -66,7 +66,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
                 .ConfigureAwait(false);
             response.EnsureSuccessStatusCode();
 
-            return await response.Content.ReadAsStreamAsync(cancellationToken);
+            return await response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
         }
 
         private async Task<List<ChannelInfo>> GetChannelsAsync(TextReader reader, string channelIdPrefix, string tunerHostId)