Decrements the reference count on this.
If reference count hits zero, destroy this. This function does not take the lock on this as it relies on atomic refcounting.
The unref method should never be called with the LOCK held since this might deadlock the dispose function.
a Object to unreference