I'm so happy. I've made it. I'm a new man now. The website that was
leaking 7M is not leaking anymore. I'm crying in extasis.
There you go:
DynDocument ( I posted this yesterday )
-----------------------------------------
DynDocument.prototype.specificRemove=function() {
this.elm=this.doc=this.frame=null;
};
DynLayer
----------
DynLayer.prototype.specificRemove=function() {
if (is.def && this.elm) {
this.elm.style.visibility = "hidden";
this.elm.innerHTML = "";
this.elm.outerHTML = "";
// BLAME THIS ONE. HE WAS ON HOLIDAYS
this.frame = null;
//
if (is.ie5 && is.platform=="win32" && this.elm.children.length>0)
this.elm.removeNode(true);
}
else if (is.ns4 && this.elm) {
if (!this.parent.doc.recycled) this.parent.doc.recycled=[];
this.parent.doc.recycled[this.parent.doc.recycled.length]=this.elm;
}
this.elm = null;
this.doc = null;
this.css = null;
};
There may be some minor leaks around, but for me this is a major step.
I'd appreciate those that were specially suffering the leak ( Mr Ken Ono
and Lasse Lingard, as far as I remember ) confirm if it works. I'll
update CVS now.
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev