fix: lint

This commit is contained in:
Alex
2026-02-24 00:49:23 +01:00
parent ef3d55980e
commit 802bf184fb
8 changed files with 39 additions and 16 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ static void handleSignalMainThread(int signum, bool& reload) {
spdlog::debug("Received SIGCHLD in signalThread");
{
std::lock_guard<std::mutex> lock(reap_mtx);
for (auto it = reap.begin(); it != reap.end(); ) {
for (auto it = reap.begin(); it != reap.end();) {
if (waitpid(*it, nullptr, WNOHANG) == *it) {
spdlog::debug("Reaped child with PID: {}", *it);
it = reap.erase(it);