ReferenceCounted.release

Decreases the reference count by the specified {@code decrement} 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()
  2. bool release(int decrement)
    interface ReferenceCounted
    bool
    release
    ()

Meta