Fix module appid abnormal after soft reset (#1895)

This commit is contained in:
LoveSy 2022-04-27 15:33:11 +08:00 committed by GitHub
parent 7d5778a01c
commit 109cdba60c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ public class ConfigManager {
return false;
}
m.file = file;
cachedModule.put(m.packageName, m);
cachedModule.putIfAbsent(m.packageName, m);
return true;
}).collect(Collectors.toList());
}