Share

AcDbObjectReactor::goodbye

C++

virtual void goodbye(
    const AcDbObject*
);

Description

This function is invoked when the object pointed to by dbObj is being deleted from memory. For example, when the AutoCAD editor is closing a drawing, the database object currently in the editor is destroyed, as are all the objects within the database. Just before each object is destroyed, goodbye notification is sent to all reactors attached.

Receiving this notification is an indication that the reactor will not only not receive any further notification from the object being destroyed, but also that the reactor should not try to remove itself from that object in any future clean up since that object will no longer exist.

Parameters

Parameters Description
dbObj Passed in const pointer to the object being destroyed

Links

AcDbObjectReactor

Was this information helpful?