1cheese Posted June 26, 2023 Share Posted June 26, 2023 In JS it's a good practice to remove event listeners to prevent memory leaks. Should we remove previously added event listeners in Pixi.js v.7 to prevent memory leaks? Or it is done automatically under the hood? For instance when a DisplayObject that has some previously added event listeners is destroyed what happens with those listeners? Are they being removed? Quote Link to comment Share on other sites More sharing options...
SEO Faucet Posted June 26, 2023 Share Posted June 26, 2023 (edited) re Edited June 26, 2023 by SEO Faucet Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.