release

open fun release()

Discards all resources held by this class, notably the EGL context. This must be called from the thread where the context was created.

On completion, no context will be current.