Created originally on Bitbucket by sbauman (Spenser Bauman)
-
Ensure all optimization info is removed from all data referenced by ExportedState
Two cases to watch for:
- After the ExportedState is constructed
- When optimization fails (InvalidLoop) and the ExportedState object is reused for for another attempt (i.e. retracing)
-
Additional consistency check