I should say that the resuilt was to go from a 500k per reload leak to
a 300k one..
 
still at it..
 
Doug Melvin
----- Original Message -----
Sent: Friday, January 19, 2001 1:32 PM
Subject: [Dynapi-Help] Yet More on memory leaks..

I put the following code into skintoolbar.js and execute it
in function CleanUp() of my main document which is called in
<body >
 
---------
CoreSkinToolbar.prototype.destroy=function() {
 for (var i=0;i<this.children.length;i++){
    this.children[i].destroy();
 }
 delete this.items;
 delete this.theme;
 this.parent.deleteChild(this);
}

Reply via email to