Feature suggestion: also clear scene events when scene shutdown #5908
rexrainbow
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When scene shutdown
But scene events (e.x.
scene.events.on('update', callback)
) won't be clear by engine. User has to remove registered events manually.Add
events.removeAllListeners()
at the end of Systems.shutdown() method might clear scene events.Beta Was this translation helpful? Give feedback.
All reactions