CloseSequenceFile Method Returns Leak Warning in TestStand

Updated May 27, 2018

Reported In


  • TestStand

Issue Details

If I close a Sequence File using ApplicationManager. CloseSequenceFile I get the following window when closing the TestStand Engine:

However, if I use the Engine. ReleaseSequenceFileEx method, I do not have this window. Why is this happening if the Engine Reference is unique?


Both the ApplicationManager and the Engine are aware of the sequences created using their methods. To avoid memory leaks, the sequence must be closed using the same object that was used for their creation.

Additional Information

The ApplicationManager. CloseSequenceFile closes the sequences that are in the SequenceFiles, which are the sequences created with the Application Manager.

The GetSequenceFileEx increments the ("Load Reference Count") counter everytime a sequence is loaded. Engine. ReleaseSequenceFileEx method must be called for each load reference added to the sequence file


Not Helpful