B2022-001 – fixed an out of memory crash when you print more than one child procedure from the same parent procedure in the same PROMS session.
This commit is contained in:
parent
653a504234
commit
7a21644ff8
@ -179,7 +179,10 @@ namespace VEPROMS.CSLA.Library
|
||||
//string key = string.Format("{0}.{1}",dvi.DocVersionAssociations[0].ROFstID,dvi.DocVersionConfig.SelectedSlave);
|
||||
string key = string.Format("{0}.{1}.{2}", ROFstID, dvi.DocVersionConfig.MaxSlaveIndex, dvi.DocVersionConfig.SelectedSlave);
|
||||
if (!dicLookups.ContainsKey(key))
|
||||
{
|
||||
dicLookups.Clear(); //B2022-001 clear the dictionary each time to free up memory - out of memory fix
|
||||
dicLookups.Add(key, new ROFSTLookup(this, dvi));
|
||||
}
|
||||
return dicLookups[key];
|
||||
}
|
||||
#endregion
|
||||
|
Loading…
x
Reference in New Issue
Block a user