I have a problem with component reference when it is open by PopupManager.
I opened the mxml file thru PopupManager and close using PopUpManager.removePopup() method. But the reference of the mxml file still in the memory. If I opened it again and again means i have experienced performance issue.
Have anyone solve this problem should be much appreciated.
Arun P. Ganesh
Hi Arun Ganesh,
You also need to remove all the eventListeners associated with the PopUp before you close your PopUp. Otherwise you wil faced the performance issue the same way you are facing since the eventListners associated with the PopUp will not be removed when you close your PopUp instead you manually need to remove all the Listners before you close your popup otherwise your old listeners in adddition to new listeners exist as how many times you open and get multiplied.
You can also refer to the thread that I have posted.
Message was edited by: BhaskerChari