We have 2 composer scenes that ping pong between each other on goto Scene A --> B --> A --> B etc. This happens 24 times. Each time A or B is loaded it requires a new module which contains images which are inserted into scene A and B’s sceneGroup. That’s fine. the problem is when those modules add their own eventListeners. If these are not removed when sceneA gotos to a new sceneB etc, they remain in the CurrentStage adding around 1KB each time.
Tried running a function within the module to remove the listeners in there but the currentStage still lists them as persisting.
What is the best way deal with event Listeners in Composer. Specifically, how to remove event listeners created within modules required by composer scenes?