DisposableHandle

fun interface DisposableHandle

A handle to an allocated object that can be disposed to make it eligible for garbage collection.

Functions

dispose
Link copied to clipboard
abstract fun dispose()

Disposes the corresponding object, making it eligible for garbage collection. Repeated invocation of this function has no effect.

Sources

common source
Link copied to clipboard