LMAssembly // Clear strData of certain subLMs when necessary.

This commit is contained in:
ShikiSuen 2022-12-05 20:48:47 +08:00
parent 532f1737a2
commit 9816df451b
4 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,7 @@ extension vChewingLM {
public mutating func clear() {
filePath = nil
strData.removeAll()
rangeMap.removeAll()
}

View File

@ -114,6 +114,7 @@ extension vChewingLM {
///
public mutating func clear() {
filePath = nil
strData.removeAll()
rangeMap.removeAll()
}

View File

@ -81,6 +81,7 @@ extension vChewingLM {
///
public mutating func clear() {
filePath = nil
strData.removeAll()
dataMap.removeAll()
}

View File

@ -65,6 +65,7 @@ extension vChewingLM {
public mutating func clear() {
filePath = nil
strData.removeAll()
rangeMap.removeAll()
}