# removeEventListener and Garbage Collection

**URL:** <https://forum.kirupa.com/t/removeeventlistener-and-garbage-collection/285612>\
**Category:** classic bestof\
**Created:** [April 2, 2009, 10:48pm UTC](https://forum.kirupa.com/t/removeeventlistener-and-garbage-collection/285612 "2009-04-02T22:48:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandylion13](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Post date:** [April 2, 2009, 10:48pm UTC](https://forum.kirupa.com/t/removeeventlistener-and-garbage-collection/285612/1 "2009-04-02T22:48:43Z")

</div>

Hello 🙂

I understand that if enterFrame events are not removed from objects, the Garbage Collector will not remove those objects from memory.

Is this only a problem with enterFrame events or should other events, like addedToStage, be explicitly removed as well?
