ReferenceCounted.release

Decreases the reference count by {@code 1} and deallocates this object if the reference count reaches at {@code 0}.

@return {@code true} if and only if the reference count became {@code 0} and this object has been deallocated

  1. bool release()
    interface ReferenceCounted
    bool
    release
    ()
  2. bool release(int decrement)

Meta