Hi,

In event.js, the current version of the deleteChild() function is:

p.deleteChild = function(c) {
   c.removeFromParent();
   c._delete();
};

As far as I can tell, _delete() is a null function (set to dynapi.functions.Null inside event.js and not defined anywhere else). It certainly leaks memory. The following code doesn't leak:

p.deleteChild = function(c) {
   c.removeFromParent();
   c._destroy();
};

So I'm guessing that the _delete() function was just a typo at some time and should not really be there at all?

regards,
Andrew




------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to