close

abstract override fun close()

Releases the Android resources backing surface.

Callers normally should not call this directly after passing the instance to CommandQueue.createRiveSurface. Implementations must be idempotent and tolerate being closed by CommandQueue.createRiveSurface on creation failure, or later on the command server thread when the wrapping RiveSurface is closed.