loseContext

abstract fun loseContext()(source)

The WEBGL_lose_context.loseContext() method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.

MDN Reference