Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Destroy method of biz object is not fired when it's real
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00989209
Message ID:
00989216
Vues:
39
I would first check if the variable really goes out of scope. It's very common that the variable is not declared as LOCAL and stays in the memory. Also, if you are storing object reference of the other objects/bizobj into a property of this bizobj, it might stay in the memory if the reference objects are not released.

>Hi Mere Mortals users!
>
>Did you notice, that if you instantiate the biz object in a program, that when the object variable goes out of scope, the object's Destroy method is not fired?
>
>My colleague did change aBizObject, so it could be newly intoduced bug.
>
>Would you please test it and let me know the results?
>
>Thanks a lot in advance.
- Jayesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform