Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to deal with object's referencing each other
Message
De
15/08/2003 10:13:14
 
 
À
15/08/2003 10:01:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00820420
Message ID:
00820482
Vues:
17
Hilmar

I think that is the problem with Destroy, these objects are Custom objects, no forms.

Is there another way around this?

Thanks
Kev

>Setting references to NULL seems the correct approach. Perhaps Destroy() is too late? If it is a form, you might try setting references to NULL in Form.QueryUnload().
>
>HTH,
>
>Hilmar.
>
>
>>Hi
>>
>>How can I safely clear all objects in memory when there are certain objects holding references to each other?
>>
>>Whenever I try it ends up crashing VFP, I understand that VFP's garbage collection cannot cope with this on it's own, and for the record I have code in the Destroy Method(s) which set all references to .NULL., but this doesn't seem to be enough.
>>
>>It's quite a complex situation, so I wouldn't be able to describe in words, only pictures.
>>
>>Any ideas on how to deal with this situation?
>>
>>Thanks
>>Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform