No idea. JS will delete the object because the Array does not reference
it. Anyway, this is NS code, and memory leaks were IEs jolly gift, not
NSs. I think.
Michael Pemberton wrote:
> close, but I'll give you the cigar anyway. I really should get off my
> behind and do some of the cvs updates myself instead of bitching. I
> am not sure if the lack of the highlighted line will have any effect,
> perhaps he who knows all there is to know about memory (Jordi) could
> shed some light on it:
>
> this.elm=recycled[recycled.length-1];
> This One --> recycled[recycled.length-1]=null;
> recycled.length--;
>
> It may be possible that the element remains even after the length is
> reduced.
>
> Robert Rainwater wrote:
>
>> Its been fixed.
>>
>> Now if I can only get the loadpanel working.
>>
>> --
>> Robert Rainwater
>>
>> On 6/20/2001, 2:13:30 AM EST, Michael wrote about "[Dynapi-Dev] NS
>> Resize Fix":
>>
>> > I noticed that the updated code still uses the first element of
>> the
>> > recycled array instead of the last.
>>
>> > I suggest that this be changed to remove the overhead of using the
>>
>> > removeFromArray method.
>>
>> > Also, if you are going off what I emailed you, you missed a vital
>> line of
>> > code. The recreate method reassigns the recycled array to [] so
>> that it
>> > has no elements. This is what forced the new layer creation and
>> it
>> > appears to be missing from the cvs code change.
>>
>> > Robert Rainwater wrote:
>>
>> >> Please check out
>> >> http://dynapi.sourceforge.net/cgi-bin/snapshot.pl?file=current .
>> It
>> >> includes the latest resize fix for Netscape. Hopefully it should
>> fix
>> >> the previous problems.
>> >>
>> >> --
>> >> Robert Rainwater
>> >>
>> >> _________________________________________________________
>> >> Do You Yahoo!?
>> >> Get your free @yahoo.com address at http://mail.yahoo.com
>> >>
>> >> _______________________________________________
>> >> Dynapi-Dev mailing list
>> >> [EMAIL PROTECTED]
>> >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>>
>> > --
>> > Michael Pemberton
>> > [EMAIL PROTECTED]
>> > ICQ: 12107010
>>
>> > _______________________________________________
>> > 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
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev