close

open override fun close()(source)

Stops input and source callbacks during native consumer failure or device shutdown without navigating to another screen.

The owner-thread screen closes its retained host exactly once; in-flight GPU resources remain device-owned.

Throws

when terminal cleanup fails, after independent cleanup has been attempted.