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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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