Clean up Threejs WebGl contexts
问题 I have a problem while cleaning up my WebGl-Scenes. I'm using Three.js with a WebGlRenderer. In my application I have to change the views quite often and therefore need to render new scenes all the time. Uptil now I destroy and reinitialize the entire Threejs scene. After switching the scenes about 15 - 20 times I get following warning: WARNING: Too many active WebGL contexts. Oldest context will be lost. After switching a couple of times more the context is lost completly and the application