class NativeWindowLease
source · line 6public
public class NativeWindowLease internal constructor(private val owner: WindowOwner) : Closeable
- Supertype
Closeable - Inherited
fun dispose(): Unit· Closeable
An explicit native borrow that prevents active destruction until owner-side retirement.
function close
source · line 26public
public override fun close(): Unit
- Overrides
close
Ends the borrow once, from any thread; actual release remains on the owner.
property handle
source · line 19public
public val handle: NativeWindowHandle
get: public read-only
Queries the typed native handles on the owner thread while this lease is active.
getter get
source · line 20public
get(): NativeWindowHandle