Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Not Released
Message
 
To
20/12/1999 09:16:23
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00305179
Message ID:
00306152
Views:
30
>Hi,
> Thank you... it works now.....
> However, I have a question. I have mysession = .NULL. in my statement, why don't it works?? Somebody told me that it just the same with RELEASE mysession.. is it?
>
>Thank you

John,

That depends on whether or not there is another reference to the object somewhere else. With VarName = NULL the object won't go away until all of the VarNames pointing to that object have been nulled.

The best general design is to give your class a DoRelease method athat cleans everything up and then RELEASE THIS at the end of the method.
Previous
Reply
Map
View

Click here to load this message in the networking platform