LMAssembly // Clear strData of certain subLMs when necessary.
This commit is contained in:
parent
532f1737a2
commit
9816df451b
|
@ -80,6 +80,7 @@ extension vChewingLM {
|
|||
|
||||
public mutating func clear() {
|
||||
filePath = nil
|
||||
strData.removeAll()
|
||||
rangeMap.removeAll()
|
||||
}
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@ extension vChewingLM {
|
|||
/// 將當前語言模組的資料庫辭典自記憶體內卸除。
|
||||
public mutating func clear() {
|
||||
filePath = nil
|
||||
strData.removeAll()
|
||||
rangeMap.removeAll()
|
||||
}
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ extension vChewingLM {
|
|||
/// 將當前語言模組的資料庫辭典自記憶體內卸除。
|
||||
public mutating func clear() {
|
||||
filePath = nil
|
||||
strData.removeAll()
|
||||
dataMap.removeAll()
|
||||
}
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ extension vChewingLM {
|
|||
|
||||
public mutating func clear() {
|
||||
filePath = nil
|
||||
strData.removeAll()
|
||||
rangeMap.removeAll()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue