addExceptionCallback

open fun addExceptionCallback(callback: Runnable)

Adds a callback that will be called on the EGL thread if there is an exception on the thread.