From 9db6f610c65592a299173248a8352252f07e5fdb Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 20 Sep 2015 11:39:44 -0400 Subject: [PATCH] add image processor delay --- Emby.Drawing/ImageProcessor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs index 970b463cd..231bfa2b4 100644 --- a/Emby.Drawing/ImageProcessor.cs +++ b/Emby.Drawing/ImageProcessor.cs @@ -227,6 +227,9 @@ namespace Emby.Drawing imageProcessingLockTaken = true; _imageEncoder.EncodeImage(originalImagePath, cacheFilePath, newWidth, newHeight, quality, options); + + // ImageMagick doesn't seem to always release it right away + await Task.Delay(100).ConfigureAwait(false); } } finally