Destructor for the class. This is called automatically when the reference count reaches zero. Do not call this yourself on pointers