Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory Not Released
Message
 
À
20/12/1999 09:16:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00305179
Message ID:
00306152
Vues:
29
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform