2.7.2 Deleting pointers to registered callbacks

A caller typically registers at least one callback object of type CADICallbackObj to a connected target.

To avoid any access violations from the target after a caller has disconnected, the essential first step in disconnecting is to remove the pointers to all registered callback objects of the caller.

After removal of the callback object pointers, no additional action is required by the caller on the target because the cleanup of the CADI objects is managed by the underlying CADI simulation.

Non-ConfidentialPDF file icon PDF versionARM 100963_0200_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.