Class AutoReleasableAbstract

Base class for all objects whose lifetime is managed by autorelease pools created with the autorelease function.

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Checks if this object is retained.

    Returns boolean

  • Releases the native resources associated with this object.

    Returns Promise<void>

  • Marks this object as retained, meaning that it will not be automatically released when exit from autorelease function occurs.

    Returns void