# Spark List constructor

**URL:** <https://forum.kirupa.com/t/spark-list-constructor/330525>\
**Category:** flash\
**Created:** [February 4, 2013, 7:02am UTC](https://forum.kirupa.com/t/spark-list-constructor/330525 "2013-02-04T07:02:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![destinier](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@destinier](https://forum.kirupa.com/u/destinier)\
**Post date:** [February 4, 2013, 7:02am UTC](https://forum.kirupa.com/t/spark-list-constructor/330525/1 "2013-02-04T07:02:35Z")

</div>

I have observed that Spark List constructor is adding below event. But I see that the same is not removed anywhere. Moreover the handler is scoped to “private” which means that it cannot be accessed to its descendants.

```php
addEventListener(TouchInteractionEvent.TOUCH_INTERACTION_START,touchInteractionStartHandler);

```

Reference links :

> **[Flex UIComponent memory issue](https://www.kirupa.com/forum/showthread.php?376124-UIComponent-memory-issue)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

  

> <https://stackoverflow.com/questions/9905598/flex-spark-textinput-prevents-component-to-be-collected-by-gc>

Then when I extend Spark List component, how could I remove this event listener since the handler is scoped to private. This means that it could not be garbage collected causing memory leak, right? Any ideas to overcome this issue. (OR) is it corrected any of the latest SDK release. Please help

Thanks
