| 177 | } |
| 178 | |
| 179 | void openhd::LEDManager::stop_loading_thread() { |
| 180 | if (m_running) { |
| 181 | m_running = false; |
| 182 | if (m_loading_thread && m_loading_thread->joinable()) { |
| 183 | m_loading_thread->join(); |
| 184 | } |
| 185 | m_loading_thread = nullptr; |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | void openhd::LEDManager::loading_loop() { |
| 190 | while (m_running) { |
nothing calls this directly
no outgoing calls
no test coverage detected