← Docs
kotlin-stdlib / kotlin.native.ref / Cleaner

Cleaner

Native
1.9
@ExperimentalNativeApi sealed interface Cleaner
(source)

The marker interface for objects that have a cleanup action associated with them.

Use createCleaner to create an instance of this type.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .