06-03-2015 08:05 AM
I writen this demo in LabVIEW 2014 to test the GarbageCollector in GDS, but it doesn't work, and I don't know the reason.
Please help me....
06-03-2015 05:00 PM
This only works with GOOP3 classes.
What class type are you using?
06-04-2015 09:40 AM
Oh, yes! Thank you very much~~~ I've tried it again using GOOP3. It works!
I used with GOOP4 before. How to use GarbageCollector with GOOP4?
06-04-2015 05:40 PM
Since a basic GOOP4 object don't register it's object anywhere it won't work.
But if you add the Persistent/Debugging design pattern to it, I guess we could get it to work.
But since I prefer to take control of the destruction of my objects, I’ve not needed this feature.
I might look into it…