On 1/26/07, Colin Mollenhour <[EMAIL PROTECTED]> wrote:
>
>
> I noticed that Event.stopObserving does not actually remove the array
> of [element,name,observer] from the observers cache that it adds when
> you call Event.observe. Could this be preventing proper garbage
> collection?


*Could* be preventing GC, but does not produce memleaks. In IE, they are
prevented by removing all the handlers on unload. (You can test by using IE
Sieve.) I don't know if there are tools to test other browsers, but I never
saw constantly rising memory consumption on pages using Prototype.

-m

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to