Remove the listeners yourself and jut to be sure nullify any reference you can think of. You increase the chances of the object being garbage collected.
I see, so you're saying that setting to null on the close PopUpEvent is THE right way to do this?
1 person found this helpful
Makes sense to me, but as I said prior to nullify, remove the listener also. If there is a better way I'm not seeing it at the moment.
Thank you, Claudiu.
Was unsure what the close() method did.