Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making the most of Multithreading
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00729042
Message ID:
00729465
Views:
17
I never have client call release on my servers. But in my destroy events i always make sure i cleanup any object reference i may have in properties and ALWAYS declare vars as Local and alway null objects when i am done with them.

VFP is better than some other language at garbage collection but there is no way VFP can GC every thing unless they add something like automatic GC in .NET

>Thanks for the link Stéphane. This expose a weakness in VFP, since in theory, it should clean up after itself. Requiring the client to call Release () break encapsulation.
>
>I wonder if VFP 8 solve this problem.
>
>>Not quite!, VFP does have some garbage collection be it can't do everything. you must be extremly carefull at cleaning up when building COM servers.
>>
>>Take a look at http://fox.wikis.com/wc.dll?Wiki~ManualGarbageCollection~VFP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform