Yes, you should remove event listeners if you are not using weak links. The GC will not clear the object if there is a link to it, and registering event listeners creates a link to the object unless you set the parameter useWeakReference(parameter 5 th for addEventListener) before trueregistering the event listener. Weak links will not be counted by the garbage collector.
sprite.addEventListener(Event.TYPE, listenerFunction, useCaptureBool, 0, false);
sprite.addEventListener(Event.TYPE, listenerFunction, useCaptureBool, 0, true);
source
share