B2021-147 Fixed out of memory error while importing a procedure set that has lots of images.
This commit is contained in:
parent
44bcd2f6d5
commit
3f0a166aa6
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user