W3cubDocs

/Kotlin

deinitRuntimeIfNeeded

Platform and version requirements: Native (1.3)
fun deinitRuntimeIfNeeded()
Deprecated: Deinit runtime can not be called from Kotlin

Deinitializes Kotlin runtime for the current thread, if was inited. Cannot be called from Kotlin frames holding references, thus deprecated.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/deinit-runtime-if-needed.html