This event notification will be raised before the input/output is removed from its operation, but after any connections to it have been removed. Hence, a DeletingIOBase event will always be raised before any InputRemovalEvent, InputElementRemovalEvent or OutputRemovalEvent notification on the associated operation holding the input/output. In the case of InputArray, the event is raised after child inputs have been deleted but before the input array is removed from the operation. This is so that event notifications reflect the order in which inputs are actually fully deleted rather than the order in which the deletion functions are called.
The result of getIOBase() will still be a valid object at the time it is called, but this value should not be stored or used beyond the duration of this event notification.