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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement