release

public void release()

Discards all resources held by this class, notably the EGL context. Also releases the Surface that was passed to our constructor.