close

abstract override fun close()(source)

Releases renderer-owned resources after its final GPU work has completed.

This render-thread call occurs at most once per renderer instance after the adapter establishes completion of its final GPU use, including failed attachments and retired reload generations. If terminal completion cannot be established, the renderer remains quarantined and this method is not called. The external factory/source is never closed. Cleanup may enqueue native destruction but must not issue new GPU work or wait for an unconsumed GUI frame. Cleanup failures propagate after the remaining device cleanup has been attempted.

Throws

when renderer resource release fails; independent device cleanup still runs and preserves the primary failure.