| 150 | } |
| 151 | |
| 152 | OHDInterface::~OHDInterface() { |
| 153 | // Terminate the link first |
| 154 | m_wb_link = nullptr; |
| 155 | // Then give the card(s) back to the system (no monitor mode) |
| 156 | // give the monitor mode cards back to network manager |
| 157 | openhd::wb::giveback_cards_monitor_mode(m_monitor_mode_cards, m_console); |
| 158 | if (m_ethernet_manager) { |
| 159 | m_ethernet_manager->stop(); |
| 160 | m_ethernet_manager = nullptr; |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | std::vector<openhd::Setting> OHDInterface::get_all_settings() { |
| 165 | std::vector<openhd::Setting> ret; |