B2022-076: Page Number transitions are not resolved, thus print as Page ~

This commit is contained in:
Kathy Ruffing 2022-07-14 12:56:55 +00:00
parent f67d2a02d0
commit d7187b4f81

View File

@ -7193,9 +7193,10 @@ namespace VEPROMS.CSLA.Library
SetFromType(tmp); SetFromType(tmp);
SetParentSectionAndDocVersion(tmp, tmp.MyDocVersion, null, tmp.MyDocVersion, tranLookup); SetParentSectionAndDocVersion(tmp, tmp.MyDocVersion, null, tmp.MyDocVersion, tranLookup);
// B2022-025: dispose cached items after setting transition text that gets done in SetParentSectionAndDocVersion & collect related garbage // B2022-025: dispose cached items after setting transition text that gets done in SetParentSectionAndDocVersion & collect related garbage
tranLookup.Dispose(tmp.ItemID); // B2022-076: comment out dispose. Needed to resolve page number transitions. Note that since B2022-025 was worked, memory improvements have been done for ROs
tranLookup = null; //tranLookup.Dispose(tmp.ItemID);
GC.Collect(); //tranLookup = null;
//GC.Collect();
//TimeSpan ts = DateTime.Now.Subtract(dt); //TimeSpan ts = DateTime.Now.Subtract(dt);
//ticksItems = ts.Ticks - (ticksROUsage + ticksTrans); //ticksItems = ts.Ticks - (ticksROUsage + ticksTrans);
//ItemInfo.ShowTicks(); //ItemInfo.ShowTicks();