diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-02-18 22:46:09 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-02-18 22:46:09 -0500 |
| commit | 0ee1a0d7bd827e53351ee5e4ad21c4dda258362d (patch) | |
| tree | d3dd05b49062854a724253863901327d036aae04 /Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs | |
| parent | 00760f7d24776d101aa44302025d37df9b12b2d3 (diff) | |
fix mapping multiple tuner channels to same epg channel
Diffstat (limited to 'Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs')
| -rw-r--r-- | Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs b/Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs index de528a94f..f0518f69e 100644 --- a/Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs +++ b/Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs @@ -379,7 +379,7 @@ namespace Emby.Common.Implementations.ScheduledTasks /// <exception cref="System.InvalidOperationException">Cannot execute a Task that is already running</exception> public async Task Execute(TaskExecutionOptions options) { - var task = ExecuteInternal(options); + var task = Task.Run(async () => await ExecuteInternal(options).ConfigureAwait(false)); _currentTask = task; |
