mirror of
https://github.com/YuzuZensai/TrollSSH.git
synced 2026-09-13 20:19:03 +00:00
🚀 perf: Performance and Memory optimization
This commit is contained in:
@@ -112,6 +112,9 @@ func Load(filename string) (*FramesContainer, error) {
|
||||
if off != len(raw) {
|
||||
return nil, invalid()
|
||||
}
|
||||
|
||||
file.dropResident()
|
||||
|
||||
data := &FramesContainer{ColorFrames: colorFrames, FPS: fps}
|
||||
frameFileOwners.Store(data, file)
|
||||
owned = true
|
||||
|
||||
Reference in New Issue
Block a user