This method is called when there are no longer any reference to the the servant.
| 132 | // This method is called when there are no longer any reference to the |
| 133 | // the servant. |
| 134 | DataReaderImpl::~DataReaderImpl() |
| 135 | { |
| 136 | DBG_ENTRY_LVL("DataReaderImpl", "~DataReaderImpl", 6); |
| 137 | |
| 138 | deadline_task_->cancel(); |
| 139 | |
| 140 | #ifndef OPENDDS_SAFETY_PROFILE |
| 141 | RcHandle<DomainParticipantImpl> participant = participant_servant_.lock(); |
| 142 | if (participant) { |
| 143 | XTypes::TypeLookupService_rch type_lookup_service = participant->get_type_lookup_service(); |
| 144 | if (type_lookup_service) { |
| 145 | type_lookup_service->remove_guid_from_dynamic_map(subscription_id_); |
| 146 | } |
| 147 | } |
| 148 | #endif |
| 149 | } |
| 150 | |
| 151 | // this method is called when delete_datareader is called. |
| 152 | void |
nothing calls this directly
no test coverage detected