Community
deriving a class from AcEdInputPointMonitor, in destructor,
curDoc()->inputPointManager()->removePointMonitor(this);
crashes when AutoCAD is in close status.
It's possible from an AcApDocument object know if autocad is in closing status.
Thnak's in advance.
Alessandro Casadei
Hi,
You need to remove your reactor in the documentToBeDestroyed(AcApDocument *) to ensure AcApDocument is still valid.
Regards,
You should always check for NULL pointers before dereferencing the return values of curDoc() and inputPointManager().