06-02-2010 01:33 AM
HI,
Am gettting "Refernce to the property object not released" error on every shutdown of TestStand(please do find attached screen shot).
what might cause this issue?
Thanks In Advance
Thanks
Bharathi
06-02-2010 02:29 AM
Hi,
It's difficuilt to see the detail in the screen shot as the important stuff is off the screen.
But you need to check in the Sequence(s) indentified that all SequenceContext are released before the execution completes. This includes all references held in variables.
Regards
Ray Farmer
06-02-2010 03:55 AM
Thanks for your time.
Is there a std way for relaasing all the sequnce context?
how to do that?
Thanks
Bharathi
06-02-2010 04:27 AM
Hi,
You can release the object reference by setting it to Nothing
eg Locals.StepRef = Nothing
Regards
Ray Farmer
06-02-2010 08:55 AM
Leaks are usually caused by code modules or UIs not properly releasing references to all of their teststand objects. TestStand variables' references are automatically released by the Engine, but if your code modules or UI code adds references and doesn't release them then you will see leaks like this.
Hope this helps,
-Doug