11-06-2020 04:30 PM
This is giving me fits. If you have a typedef that contains an XControl (or contains a cluster that contains an XControl).
Then when you load a VI that has an instance of the typedef, two instances of the XControl will be instantiated: one owned by the typedef, and the other owned by the VI. The problem is that when the VI is unloaded, only its instance of the XControl is unloaded. The other instance remains in memory, and it forces the typedef to remain in memory. Is there a workaround for this?
11-07-2020 09:19 AM
I was able to solve this by making two changes: