Update MediaEncoder.cs

This commit is contained in:
Mark Cilia Vincenti 2024-01-14 14:13:17 +01:00 committed by GitHub
parent 420ce6a4fa
commit 7998e15839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -902,8 +902,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
using (var processWrapper = new ProcessWrapper(process, this))
{
bool ranToCompletion = false;
bool ranToCompletion = false:
using (await _thumbnailResourcePool.LockAsync(cancellationToken).ConfigureAwait(false))
{
StartProcess(processWrapper);