Skip to content

Commit

Permalink
Service: fix memory after crop
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Nov 6, 2021
1 parent 47d8fbc commit eeb9e3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion products/ASC.Files/Service/Thumbnail/Builder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ private void Crop(IFileDao<T> fileDao, File<T> file, Stream stream)
fileDao.SaveThumbnail(file, targetStream);
}
}
}
}
GC.Collect();
}

private Image GetImageThumbnail(Bitmap sourceBitmap)
Expand Down

0 comments on commit eeb9e3e

Please sign in to comment.