Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When/where to destroy objects?
Message
From
28/08/2007 13:17:36
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
When/where to destroy objects?
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01250957
Message ID:
01250957
Views:
65
I have a main program that instantiates a class. That class contains various objects. What is the best way to clean-up all the references? This program is a service that starts on boot and remains running until PC shutdown or the service is terminated. What can I put in my program/classes to ensure I don't leave stuff hanging around? Per Cathy's suggestion, I'll set them to NULL after destroying them, but where best to do that?
Next
Reply
Map
View

Click here to load this message in the networking platform