B2021-147 Fixed out of memory error while importing a procedure set that has lots of images.

This commit is contained in:
John Jenko 2021-12-13 19:18:41 +00:00
parent 44bcd2f6d5
commit 3f0a166aa6

View File

@ -59,7 +59,8 @@ namespace VEPROMS.CSLA.Library
private static List<Image> _CacheList = new List<Image>();
protected static void AddToCache(Image image)
{
if (!_CacheList.Contains(image)) _CacheList.Add(image); // In AddToCache
// B2021-147 commented out to fix out of memory bug
//if (!_CacheList.Contains(image)) _CacheList.Add(image); // In AddToCache
}
protected static void RemoveFromCache(Image image)
{