diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-02-18 23:18:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-18 23:18:08 -0500 |
| commit | aa9605ed7b07c3c96b2f7fed0799adbd055af980 (patch) | |
| tree | afed1870f3fe6f1c05dfdd5017c71c53a7ae9e1a /Emby.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs | |
| parent | 0c4f78be3adb91e241e16d5acbff4d8008622486 (diff) | |
| parent | 5d8fd7ce395e3d1c00f09bb2a80eb2390ab70275 (diff) | |
Merge pull request #2477 from MediaBrowser/dev
Dev
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; |
