I am not sure where to add those lines ..

Should they be in the DynAPI.unloadHandler ?

Or in the dynlayer ondelete event ?

/Lasse

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Pascal
Bestebroer
Sent: Wednesday, February 28, 2001 8:04 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Dev] The leak ..


> It has nothing to do with imperfection it just works.
> To free a DIV in object in IE(and NN6) do the following
> obj = this.parent.elm.removeChild(this.elm);
> delete obj;

you mean deletechild right?  removechild is not used for deletion..  so if
we add

delete child  as last line in the deleteChild() method, it would free
memory?


> In the same breath why do we do this
> if (is.ie5 && is.platform=="win32" && this.elm.children.length>0)
> The removeChild always works!


what line is that? you mean the one in deleteElement (only one I could find)

because my first idea would be that removeNode() is not always supported
(only in ie55 on win32 apparently :)


Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

>
> 8an
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>






_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to