finish

abstract fun finish()(source)

Submits as required and completes all recorded GPU work during terminal device shutdown only.

The caller must first discard or consume every outstanding GUI queue. Ordinary frames, detachment, and resource reload never call this blocking operation.

Throws

when submission or GPU completion cannot be established; resources must then remain quarantined.