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);
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
tranLookup.Dispose(tmp.ItemID);
tranLookup = null;
GC.Collect();
// 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.Dispose(tmp.ItemID);
//tranLookup = null;
//GC.Collect();
//TimeSpan ts = DateTime.Now.Subtract(dt);
//ticksItems = ts.Ticks - (ticksROUsage + ticksTrans);
//ItemInfo.ShowTicks();