Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When I release last object reference, what should happen?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
When I release last object reference, what should happen?
Miscellaneous
Thread ID:
00394466
Message ID:
00394466
Views:
36
OK, it's stupid question time!

I created an object called my TimerManager. To test it I ring the bell every 5 seconds. So I create my object with goTimerMgr = newobject("TimerMgr", "TimerMgr.prg"). Don't laugh, it works. When I do goTimerMgr.destroy it goes away, as expected.

But I expected that the command "release goTimerMgr", as well as the command "goTimerMgr = null" would do the same thing, but they don't.

Did I misunderstand something? Does this only work for Linked Forms?
Tom Green in Montreal
Next
Reply
Map
View

Click here to load this message in the networking platform