refactor(sonar): migrate worker threads to std::jthread (#5398)

This commit is contained in:
Dave Lane
2026-07-12 00:30:05 -04:00
committed by GitHub
parent 40ae6c8002
commit 3377f7a73f
24 changed files with 79 additions and 48 deletions
+1 -1
View File
@@ -1845,7 +1845,7 @@ namespace confighttp {
return;
}
};
std::thread tcp {accept_and_run, &server};
std::jthread tcp {accept_and_run, &server};
// Wait for any event
shutdown_event->view();