perf.优化刷理智时的CPU占用

This commit is contained in:
MistEO
2021-12-31 21:44:33 +08:00
parent 3314acab6d
commit 163dd2e865
5 changed files with 65 additions and 35 deletions

View File

@@ -612,6 +612,7 @@ void asst::Assistant::append_callback(AsstMsg msg, json::value detail)
void Assistant::clear_cache()
{
status.clear();
Resrc.item().clear_drop_count();
//task.clear_cache();
}