Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection with multiple refs to the same object - Bug
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00843625
Message ID:
00843739
Views:
28
Dave,
Calling the Release method of the form class actually removes it from the collection. The only reference to the form class I found after releasing both the form variable and the colection object itself, was in the Forms collection of both _VFP and _Screen.

Issuing a Clear All was the only thing I found to actually release the held object reference.

Regards.

>Mathais,
>
>No bug, you still have two outstanding object refs to o2 held by the collection. An object can not destruct until all references to it are removed VFP has always worked this way.
>
>You can going to have to tell the collection to remove the references, once you do that the form created will destroy and the global memvar will release.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform