08-08-2011 01:31 PM
I am saving object references to "File Globals" and I was wondering if the memory space allocated for these items was automatically reallocated back after the execution ends.
08-09-2011 01:18 AM
Once finished with the object set the variable to equal to Nothing
eg FileGlobals.PropObj = Nothing
08-09-2011 08:40 AM
Is there a command to set all objects in FileGlobals to nothing or do we have to right expressions for all of them?
08-09-2011 09:40 AM - edited 08-09-2011 09:40 AM
File globals should get cleared automatically when the execution completes (not just an iteration of the uut loop, but the entire execution must complete). If you are seeing otherwise please let us know and let us know which version of TestStand you are using.
Hope this helps,
-Doug