I started using FTPSuite in a different manner than in the past an noticed
what look to be like a 4 object leak per FTPSessionClass instantiation.
I filed a bug report with Joe directly but wanted to see if anyone on the
list can either confirm this or show me where I'm going wrong in my
analysis.

Seems easy to replicate in a new project with FTPSuite v 4.2.1 (2005r4 but
probably in other versions as well).

Make a global variable like "app.FTPSession"
Make a global method like "app.LeakTest"
In this method simply do...
app.FTPSession = new FTPSessionClass
app.FTPSession = nil

Now make a button on a window and in its action event do this...
Action:
msgbox str(Runtime.ObjectCount)
app.LeakTest
msgbox str(Runtime.ObjectCount)

The object count goes up and stays up by 4 each time you push the button.

Am I missing something?

Dean Davis
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to