closeAfterGuiDiscarded
Closes every device after native GUI queues have been discarded and before native device destruction.
Acquisition becomes permanently unavailable before any close callback runs, including reentrant callbacks. Successful entries are removed; failed entries remain quarantined rather than falsely returning lifetime permits. This is the sole registry operation that may wait for GPU completion; it may also explicitly submit recorded work as the backend host requires.
Throws
after attempting every device, preserving the first failure and suppressing later failures.