WebGL.isWebGLAvailable should force context loss once it is done with the context

According to the WebGL best practices guide which was just released by Kronos:

WEBGL_lose_context.loseContext() can be used to release a WebGL context and its resources eagerly. Use this if you are finished with any contexts, such as probe contexts, or if you hit a fallback case

I’m assuming by “probe context” they mean a context that will never be visible to the user, such as the contexts created by WEBGL.isWebGLAvailable and WebGL.isWebGL2Available.

Related: #17588

1 possible answer(s) on “WebGL.isWebGLAvailable should force context loss once it is done with the context