自动处理程序线程已停止需要移除emailMap中保存的邮箱内容

This commit is contained in:
qiaoqinzheng 2024-04-29 18:24:15 +08:00
parent f94b6ca9fa
commit 1e0d499b7a

View File

@ -285,6 +285,7 @@ public class AutoProcessManager{
if(next.getValue().getState() == State.TERMINATED){
log.info("{}邮箱执行线程已停止emailExecThreadMap删除此邮箱数据",next.getValue().getEmailProperties().getUsername());
checkStopThreads.remove();
emailMap.remove(next.getKey());
}
}