release

abstract fun release(): RefCounted

Removes one from the reference count of this object. If the object's reference count drops to 0, it will be freed and be unusable.