FabricCanvasGuiCleanup

Attempts independent GUI queue cleanup without skipping later reference release after a failure.

Operations and queues are borrowed synchronously on the render thread. This helper retains no callback, native handle, or queue after returning and never waits for GPU work.

Types

Link copied to clipboard
Borrows one synchronous owner-thread cleanup operation without transferring resource ownership.

Functions

Link copied to clipboard
open fun closeMeshes(meshes: List<out AutoCloseable>)
Removes queued mesh references before closing their independently owned CPU vertex results.
Link copied to clipboard
Attempts every cleanup action and preserves the first failure with later failures suppressed.