| 65 | } |
| 66 | |
| 67 | application_impl::~application_impl() { |
| 68 | runtime_->remove_application(name_); |
| 69 | #ifndef VSOMEIP_ENABLE_MULTIPLE_ROUTING_MANAGERS |
| 70 | if (configuration_ && plugin_manager_) { |
| 71 | auto its_plugin = plugin_manager_->get_plugin(plugin_type_e::CONFIGURATION_PLUGIN, VSOMEIP_CFG_LIBRARY); |
| 72 | if (its_plugin) { |
| 73 | auto its_configuration_plugin = std::dynamic_pointer_cast<configuration_plugin>(its_plugin); |
| 74 | if (its_configuration_plugin) { |
| 75 | bool its_removed = its_configuration_plugin->remove_configuration(name_); |
| 76 | if (!its_removed) { |
| 77 | VSOMEIP_WARNING_P << "Unable to remove configuration entry stored for " << name_; |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | #endif |
| 83 | } |
| 84 | |
| 85 | bool application_impl::init() { |
| 86 | std::scoped_lock its_initialized_lock{initialize_mutex_}; |
nothing calls this directly
no test coverage detected