pixijs: v5 destroy() not working ( Cannot read property 'CONTEXT_UID' of null )
I’m working with nuxt on a website and inside some pages components I have a pixi application running. I’ve noticed a high memory usage, especially when going back to a page already visited and pixi re-running an already run app. So I’m trying to force some GC to free up some memory, but not having any luck.
Expected Behavior
app to be destroyed
Current Behavior
throws this blocking error: Uncaught TypeError: Cannot read property ‘CONTEXT_UID’ of null at TextureSystem.destroyTexture
Steps to Reproduce
app.destroy()
where app is const app = new PIXI.Application()
You can see the error here: https://flussocreativo.netlify.com/ just click any link inside the home to trigger the destroy.
Environment
pixi.jsversion: 5.0.0
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 15 (6 by maintainers)
New release is coming, just have one more bug PR to approve and merge.
Merged!