| 60 | } |
| 61 | |
| 62 | SubscriberImpl::~SubscriberImpl() |
| 63 | { |
| 64 | const RcHandle<DomainParticipantImpl> participant = participant_.lock(); |
| 65 | if (participant) { |
| 66 | participant->return_handle(handle_); |
| 67 | } |
| 68 | |
| 69 | // The datareaders should be deleted already before calling delete |
| 70 | // subscriber. |
| 71 | String leftover_entities; |
| 72 | if (!is_clean(&leftover_entities)) { |
| 73 | if (log_level >= LogLevel::Warning) { |
| 74 | ACE_ERROR((LM_WARNING, "(%P|%t) WARNING: SubscriberImpl::~SubscriberImpl: " |
| 75 | "%C still exist\n", leftover_entities.c_str())); |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | DDS::InstanceHandle_t |
| 81 | SubscriberImpl::get_instance_handle() |
nothing calls this directly
no test coverage detected