| 160 | } |
| 161 | |
| 162 | Root::~Root() { |
| 163 | Logger::info("Root: Shutting down Root"); |
| 164 | |
| 165 | { |
| 166 | MutexLocker locker(m_maintenanceStopMutex); |
| 167 | m_stopMaintenanceThread = true; |
| 168 | m_maintenanceStopCondition.signal(); |
| 169 | } |
| 170 | m_maintenanceThread.finish(); |
| 171 | |
| 172 | m_reloadListeners.clearAllListeners(); |
| 173 | |
| 174 | writeConfig(); |
| 175 | |
| 176 | s_singleton.store(nullptr); |
| 177 | } |
| 178 | |
| 179 | void Root::reload() { |
| 180 | Logger::info("Root: Reloading from disk"); |
nothing calls this directly
no test coverage detected