C++
~AcDbSmartObjectPointer();
Description
The destructor reverts the open status of any object that it was supplied to, except by the acquire member or DBOBJREF_PTR functionality, in which case it is unconditionally closed once. If the object is not database-resident, it is deleted. Once the object pointer reference (enabled via caller enabling of the DBOBJREF_PTR #define) is used, the object open status becomes the responsibility of the caller.