Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: addEventListener and garbage collection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: addEventListener and garbage collection



On Feb 25, 2008, at 6:36 AM, Andreas Känner wrote:

if I attach en event listener method to a DOM element with addEventListener(), those DOM elements are never garbage collected. I first need to remove the event listener method with removeEventListener().

Is this a bug or a feature?

That sounds like a bug. What language listener are you talking about? JavaScript? Objective C? Can you provide a reproducible case demonstrating this?


    -- Darin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >addEventListener and garbage collection (From: Andreas Känner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.