mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-12-03 02:58:27 +00:00
fix: setup時に必ずメモリーをリセットしてからロードするように変更
This commit is contained in:
@@ -67,7 +67,9 @@ public final class DicdataStore {
|
||||
self.mmValue = [PValue].init(repeating: .zero, count: self.midCount * self.midCount)
|
||||
}
|
||||
}
|
||||
self.reloadUser()
|
||||
_ = self.loadLOUDS(query: "user")
|
||||
self.reloadMemory()
|
||||
_ = self.loadLOUDS(query: "memory")
|
||||
|
||||
if requestOptions.preloadDictionary {
|
||||
|
||||
@@ -845,6 +845,7 @@ final class LearningManager {
|
||||
|
||||
func save() {
|
||||
if !options.learningType.needUpdateMemory {
|
||||
debug(#function, "options.learningType=\(options.learningType)", "skip memory update")
|
||||
return
|
||||
}
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user