02-27-2018 08:24 AM
TestEng42,
I would advise making a brand new forum post. As mentioned, a lot has changed in the past 10 years, and posts on an old thread typically don't gain much visibility if the original poster isn't still around.
VanCamp
02-27-2018 09:34 AM - edited 02-27-2018 09:34 AM
If you save a .NET reference in a station global with the .NET adapter it does NOT go away when the sequence execution is done. It keeps the execution appdomain around and it will be re-used with future executions. You will however be unable to unload .NET assemblies loaded by the .NET adapter until those references are cleared.
-Doug
02-27-2018 11:40 AM
You are correct! The .NET references persist across executions (which now that I step back and think about it makes sense. They are relative to the application manager for station globals). Thanks, dug9000.