How to remove an event listener from an anonymous component?

Possible duplicate:
flash AS3 how to remove scene event listeners

Say that I have an event listener attached to the component, and I want to remove the event listener from the component so that it can collect garbage. The problem is that I don’t know what kind of object it is or what event listeners it has.

Basically, how can I find out which event listeners have an object and how to delete one or all of them?

+3
source share
1 answer

Duplicate

, , . . , .

+2

Source: https://habr.com/ru/post/1703920/


All Articles