DestroyFlag

Utility class for disallowing double-free in native resources.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun get(): Boolean

If this flag has been marked as destroyed yet.

Link copied to clipboard
operator fun invoke()

Marks this flag as destroyed.