Hello there,
I'm trying without success to find all stages and renderers that PIXI has in memory, so I can call destroy on them and their children.
I'm sure there is a way to have that so I don't have to keep track on my application. It is a React website and therefore the component that had that reference is unmounted and then mounted again later on. When I instantiate a new stage and renderer, I can see them piling up and using a lot of memory as I go from one part of my website to another.
How could I find all instances so I destroy them before creating new ones? I have the global PIXI object on window...
Thanks a lot!