W3cubDocs

/Kotlin

isMemoryLeakCheckerActive

Platform and version requirements: Native (1.3)
var isMemoryLeakCheckerActive: Boolean

If the memory leak checker is activated, by default true in debug mode, false in release. When memory leak checker is activated, and leak is detected during last Kotlin context deinitialization process - error message with leak information is printed and application execution is aborted.

See Also

isDebugBinary

© 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/-platform/is-memory-leak-checker-active.html