Originally posted by:
atta707 No. It won't. You'll going to have to remove the listener as
well before you set it to null.
see removeEventListener() for for info.
Thanks for confirming my suspicion. However, I suppose I
could specify true for the useWeakReference parameter of the
addEventListener() method too, no?
What are the disadvantages to setting this parameter to true?
There doesn't seem to be any and in fact would be a very good idea
to always use true because forgetting about event listeners could
easily lead to subtle memory related bugs.