not remove json file

This commit is contained in:
windows11 2021-10-18 15:42:23 +08:00
parent 5afdb61e88
commit 6ee766df87

@ -318,7 +318,9 @@ void CMain::JSONUpdateThread(void *pUser)
fs_rename(aJSONFileTmp, pConfig->m_aJSONFile);
thread_sleep(1000);
}
fs_remove(pConfig->m_aJSONFile);
// support by: https://cpp.la. don't remove month traffic record
// it will cause quiescence
//fs_remove(pConfig->m_aJSONFile);
}
int CMain::ReadConfig()