Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Memory leak checker API. #3368

Merged
merged 4 commits into from
Sep 23, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Refined wording.
  • Loading branch information
Nikolay Igotti committed Sep 23, 2019
commit 89d0f9485cb1444ed7cd91f9d9875a995a702dff
4 changes: 3 additions & 1 deletion runtime/src/main/kotlin/kotlin/native/Platform.kt
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ public object Platform {

/**
* 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/Native runtime
* 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 isDebugBinary
*/
public var isMemoryLeakCheckerActive: Boolean
get() = Platform_getMemoryLeakChecker()
Expand Down