release method

int release()

Decrease the reference count of the interface, possibly causing the destruction of the interface (if its refcount reaches 0). After calling release, the calling code must not use the interface in any fashion.

Implementation

int release() {
  return _release(self);
}