| 240 | |
| 241 | |
| 242 | void ProcessResolver::StopCleanupThread() { |
| 243 | if (! cleanupThreadRunning) { |
| 244 | return; |
| 245 | } |
| 246 | cleanupThreadRunning = false; |
| 247 | if (cleanupThread.joinable()) { |
| 248 | cleanupThread.join(); |
| 249 | } |
| 250 | LOG_A(LOG_INFO, "ProcessResolver: Cleanup thread stopped"); |
| 251 | } |
| 252 | |
| 253 | |
| 254 | void ProcessResolver::CleanupWorker() { |