| 185 | } |
| 186 | |
| 187 | void |
| 188 | DDSApp::shutdown() |
| 189 | { |
| 190 | if (shutdown_) |
| 191 | return; |
| 192 | |
| 193 | shutdown_ = true; |
| 194 | |
| 195 | for (Participants::const_iterator part = participants_.begin(); |
| 196 | part != participants_.end(); |
| 197 | ++part) { |
| 198 | part->second->delete_contained_entities(); |
| 199 | dpf_->delete_participant(part->first); |
| 200 | } |
| 201 | |
| 202 | participants_.clear(); |
| 203 | TheServiceParticipant->shutdown(); |
| 204 | } |
| 205 | |
| 206 | } // End namespaces |
no test coverage detected