mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-07 06:43:26 +01:00
update task results
This commit is contained in:
@@ -111,7 +111,6 @@ namespace Emby.Drawing.ImageMagick
|
||||
wand.CurrentImage.TrimImage(10);
|
||||
wand.SaveImage(outputPath);
|
||||
}
|
||||
SaveDelay();
|
||||
}
|
||||
|
||||
public ImageSize GetImageSize(string path)
|
||||
@@ -189,7 +188,6 @@ namespace Emby.Drawing.ImageMagick
|
||||
}
|
||||
}
|
||||
}
|
||||
SaveDelay();
|
||||
}
|
||||
|
||||
private void AddForegroundLayer(MagickWand wand, ImageProcessingOptions options)
|
||||
@@ -294,15 +292,6 @@ namespace Emby.Drawing.ImageMagick
|
||||
{
|
||||
new StripCollageBuilder(_appPaths, _fileSystem).BuildPosterCollage(options.InputPaths.ToList(), options.OutputPath, options.Width, options.Height);
|
||||
}
|
||||
|
||||
SaveDelay();
|
||||
}
|
||||
|
||||
private void SaveDelay()
|
||||
{
|
||||
// For some reason the images are not always getting released right away
|
||||
//var task = Task.Delay(300);
|
||||
//Task.WaitAll(task);
|
||||
}
|
||||
|
||||
public string Name
|
||||
|
||||
Reference in New Issue
Block a user