NuRefCounted.release

Releases a reference from a valid object.

Notes: The object validity is determined by the refcount. Uninitialized refcounted classes will be invalid. As such, releasing an invalid object will not invoke the destructor of said object.

class NuRefCounted
@nogc final @trusted
release
()

Return Value

The class instance release was called on, null if the class was freed.

Meta