From c4e55f1cc9f1138c6125cd8e4a71b6d434fb336c Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Thu, 10 Nov 2022 11:06:05 -0800 Subject: [PATCH] Implements plugin: channel-safely v0.6.1.3 --- plugins/channel-safely/channel-safely-plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/channel-safely/channel-safely-plugin.cpp b/plugins/channel-safely/channel-safely-plugin.cpp index 1224413f1..acb0ba15a 100644 --- a/plugins/channel-safely/channel-safely-plugin.cpp +++ b/plugins/channel-safely/channel-safely-plugin.cpp @@ -413,6 +413,7 @@ namespace CSP { // clean up any "endangered" workers that have been tracked 100 ticks or more for (auto iter = age.begin(); iter != age.end();) { if (tick - iter->second >= 1200) { //keep watch 1 day + endangered_workers.erase(iter->first); iter = age.erase(iter); continue; }