not remove json file

pull/135/head
windows11 2021-10-18 15:42:23 +08:00
parent 5afdb61e88
commit 6ee766df87
1 changed files with 3 additions and 1 deletions

View File

@ -318,7 +318,9 @@ void CMain::JSONUpdateThread(void *pUser)
fs_rename(aJSONFileTmp, pConfig->m_aJSONFile); fs_rename(aJSONFileTmp, pConfig->m_aJSONFile);
thread_sleep(1000); 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() int CMain::ReadConfig()