How can I clean my renderer and render window

Hi,
I don’t know what could cause WebGL contexts to be created but you can put a breakpoint at the only place in vtk.js where a WebGL context can be created: in Rendering/OpenGL/RenderWindow/index.js in get3DContext (line 301).