Hi all
I am using Mozilla Firefox ver 43 and I have quite a large Babylon.js project
Upon making several F5 browser refreshes, I get "out of memory" situation (Error: WebGL: texImage2D generated error OUT_OF_MEMORY). It is evident that for example scene.registerBeforeRender ( and possibly other babylon functions stay resident in memory) continues to run for a few seconds after F5 is pressed (just use console.log to in registerBeforeRender to verify my claim).
How can I dispose, or clear the memory immediately F5 is pressed.
Do I need a javascript directive and where do I place it?