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