diff options
| author | Cody Robibero <cody@robibe.ro> | 2022-01-22 15:52:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-22 15:52:12 -0700 |
| commit | ea3d79c0eb10d07f1bb6e653ee0496a7c2ded720 (patch) | |
| tree | 1b6cbe0e89eb892b26c27dcd694c40db785515c1 /MediaBrowser.Controller/Channels/Channel.cs | |
| parent | 3c746f27435a35911635c0ed1382305a1a636c6a (diff) | |
| parent | 2dcb2f8a9f4be9ca69c050ce9ee94d647e8d5d5f (diff) | |
Merge pull request #7235 from Bond-009/async4
Diffstat (limited to 'MediaBrowser.Controller/Channels/Channel.cs')
| -rw-r--r-- | MediaBrowser.Controller/Channels/Channel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Channels/Channel.cs b/MediaBrowser.Controller/Channels/Channel.cs index e6923b55c..85a99d62c 100644 --- a/MediaBrowser.Controller/Channels/Channel.cs +++ b/MediaBrowser.Controller/Channels/Channel.cs @@ -53,7 +53,7 @@ namespace MediaBrowser.Controller.Channels query.ChannelIds = new Guid[] { Id }; // Don't blow up here because it could cause parent screens with other content to fail - return ChannelManager.GetChannelItemsInternal(query, new SimpleProgress<double>(), CancellationToken.None).Result; + return ChannelManager.GetChannelItemsInternal(query, new SimpleProgress<double>(), CancellationToken.None).GetAwaiter().GetResult(); } catch { |
