Function AtomicRefCounted.dispose

Dispose the underlying resource

abstract override void dispose();